gulp-site-generator icon indicating copy to clipboard operation
gulp-site-generator copied to clipboard

Support for asset revisioning

Open ringods opened this issue 9 years ago • 2 comments

When using a CDN, asset revisioning is important.

Please support asset revisioning for:

  • css
  • js

ringods avatar Sep 21 '16 20:09 ringods

Apologies for the delay in replying!

Do you mean asset versioning? Do you have any suggestions on how this could work?

ducksoupdev avatar Jan 11 '17 08:01 ducksoupdev

One of the common solution to generate a hash/md5 number from the content and extend the filename with this string. There is a popular gulp package, which can solve this problem: https://www.npmjs.com/package/gulp-rev

zoltan-nz avatar Mar 26 '17 01:03 zoltan-nz