A library that aids in static asset cache busting with SHA-256 hashes
Find a file
2021-04-12 18:23:56 +05:30
.github/workflows hash and copy 2021-04-08 19:38:26 +05:30
actix-example ergonomics and changed some public methods to private 2021-04-11 22:53:16 +05:30
dist hash and copy 2021-04-08 19:38:26 +05:30
src route prefix 2021-04-12 18:23:56 +05:30
.gitignore added example 2021-04-08 22:08:21 +05:30
Cargo.lock ergonomics and changed some public methods to private 2021-04-11 22:53:16 +05:30
Cargo.toml ergonomics and changed some public methods to private 2021-04-11 22:53:16 +05:30
CHANGELOG.md route prefix 2021-04-12 18:23:56 +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 route prefix 2021-04-12 18:23:56 +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
  • Route prefixes(optional)

Usage:

Add this to your Cargo.toml:

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

Examples: