Generates checksums and renames references to files
Useful for cachebusting
This plugin is only compatible with files that contain a stream, it only works in buffer mode.
This is the new repository for gulp-cachebust plugin. The plugin was originaly created by Josiah Truasheim and it has been transfered to this new repository (link to the previous one). Development will continue in this repository.
Install with npm
npm install --save-dev gulp-cachebust
var gulp = ;var CacheBuster = ;var cachebust = ;gulp;gulp;
Generates the checksum based on a random sha1 hash and not on the file contents.
Useful for changing the file names on each deploy regardless if the content was changed or not.
Specify a custom formatting function for busted paths. The default will output
An example for outputing a custom hash prefix:
Renames and collects resources according to their MD5 checksum.
Rewrites references to resources which have been renamed according to their MD5 checksum.
MIT © Josiah Truasheim