Skip to content

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 …

theConscience/gulp-renew-cached-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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 …

Resources

Stars

Watchers

Forks

Packages

No packages published