leshill / handlebars_assets

Use handlebars.js templates with the Rails asset pipeline.
MIT License
649 stars 159 forks source link

Bumping handlebars_assets gem version invalidates all assets in manifest.json #143

Closed kapowaz closed 1 year ago

kapowaz commented 8 years ago

I've just bumped the version of handlebars_assets used in a Rails project, and noticed that it caused every single asset in the manifest.json to be invalidated, even though the overwhelming majority are unchanged (images, CSS, JS not containing Handlebars or any generated template files).

This line seems to be the culprit — it's effectively invalidating all assets by appending the Handlebars version.

Ideally, incrementing the Handlebars version should only result in a change in affected files (which will be determined automatically by Sprockets).

AlexRiedler commented 1 year ago

This was fixed a long time back :) closing!