How do I make the bundled and minfied CSS query string version change so I can force browsers to reload the newer file?


I tried updating the css file and refreshing the store but that doesn't appear to do anything. What is the prefered way to update the bundled css?




in General by (310 points)
edited by

1 Answer

0 votes
I think I found the answer myself:

When a file in the bundle is updated the bundle query string is updated.

I was testing this by adding a comment to one of the bundled css files and wasn't seeing any change in bundle which proably makes sense since comments are removed in the minified file. After making a real change in the file the querystring does seem to get updated.
by (310 points)
edited by