benhoIIand / grunt-cache-bust

Cache bust static assets using content hashing
MIT License
265 stars 103 forks source link

Same Cache busted string #168

Closed CCSS-Github closed 8 years ago

CCSS-Github commented 9 years ago

After each attempt to execute this Cache busting task it replace same string in files, so no use for me in this case. It must be unique after each execution

benhoIIand commented 8 years ago

The hash that is appended to the file name is generated based on the contents of the file. If the file doesn't change, then the hash won't change. Out of interest, why would you want the hash to be unique every time?

benhoIIand commented 8 years ago

Closing as the way files are hashed won't be changed going forward