npm.io
1.0.4 • Published 5 years agoCLI

cache-busting-manifest

Licence
ISC
Version
1.0.4
Deps
4
Size
2 kB
Vulns
0
Weekly
0

Cache Busting Manifest

Make a cache-busting-manifest.json file with md5 hash of file content added as a query param so you can use it in your backend code to bust cache on file change

Download & Installation

$ npm i cache-busting-manifest

Usage

$ cache-busting-manifest --files public/**/*.css,public/**/*.js --root public
Note

This is suppose to be used in package.json scripts