A library that aids in static asset cache busting with SHA-256 hashes
Find a file
2021-04-08 20:45:38 +05:30
.github/workflows hash and copy 2021-04-08 19:38:26 +05:30
dist hash and copy 2021-04-08 19:38:26 +05:30
src map 2021-04-08 20:45:38 +05:30
.gitignore map 2021-04-08 20:45:38 +05:30
Cargo.lock map 2021-04-08 20:45:38 +05:30
Cargo.toml map 2021-04-08 20:45:38 +05:30
LICENSE-APACHE hash and copy 2021-04-08 19:38:26 +05:30
LICENSE-MIT hash and copy 2021-04-08 19:38:26 +05:30
README.md hash and copy 2021-04-08 19:38:26 +05:30

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

Usage:

Add this to your Cargo.toml:

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

Examples:

TODO