libcachebust/README.md
2021-04-30 20:41:45 +05:30

1.2 KiB

Cache Buster

cache-buster - A library that aids in staticfile cache busting with SHA-258 hashes

Documentation CI (Linux) dependency status
codecov

Features

  • SHA-256 based name generation during compile-time
  • Processes files based on provided MIME filters
  • Exposes modified names to program during runtime
  • Route prefixes(optional)

Usage:

Add this to your Cargo.toml:

cache-buster = { version = "0.2", git = "https://github.com/realaravinth/cache-buster" }

Examples: