sulu-standard icon indicating copy to clipboard operation
sulu-standard copied to clipboard

CSS and JS verisoning to prevent browser caching

Open rs2487 opened this issue 10 years ago • 1 comments

It should be possible to version assets like CSS and JS. The frontend coder should only have to edit a version number in a cental file. So that the person which updates the code on the server, dont need to update any files to publish the new version of the asset.

rs2487 avatar Sep 04 '14 14:09 rs2487

Looks like there is an open issue for that for quite a time: https://github.com/kriswallsmith/assetic/issues/116

However, maybe the following technique could be useful: http://stackoverflow.com/a/11682410/1292378 But only if we really version our projects...

danrot avatar Sep 05 '14 06:09 danrot