gulp-renew-cached-assets
v0.1.4
Published
Adds versioning GET-parameters (path/to/file/file_name.js?v=0.0.1) to entry static asset dependant HTML files. If they are exists - increase version count. Supposed to be used on pre-commit hook.
Downloads
6
Maintainers
Readme
gulp-renew-cached-assets
Repo for gulp plugin, which adds versioning GET-parameters to entry static asset dependant HTML files ( <script src="path/to/file/file_name.js?v=0.0.1"> ). If they are already exists - increase version count. Supposed to be used on pre-commit hook. Take static assets files as entries, look for dependant HTML in given folder, change script, link or image tags src/href attribute values.