Cache Buster

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

[![Documentation](https://img.shields.io/badge/docs-master-blue)](https://realaravinth.github.io/cache-buster/cache_buster/index.html) ![CI (Linux)]() [![dependency status](https://deps.rs/repo/github/realaravinth/cache-buster/status.svg)](https://deps.rs/repo/github/realaravinth/cache-buster)
[![codecov](https://codecov.io/gh/realaravinth/cache-buster/branch/master/graph/badge.svg)](https://codecov.io/gh/realaravinth/cache-buster)
## Features - [x] `SHA-256` based name generation during compile-time - [x] Processes files based on provided MIME filters - [x] Exposes modified names to program during runtime - [x] Route prefixes(optional) ## Usage: Add this to your `Cargo.toml`: ```toml cache-buster = { version = "0.1", git = "https://github.com/realaravinth/cache-buster" } ``` ## Examples: - See [acix-example](./actix-example) - See [mCaptcha/guard](https://github.com/mCaptcha/guard) for use with [Sailfish](https://crates.io/crates/sailfish) template engine.