Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
reliable cache busting solution #237
we found that using the assets_version as supported by AsseticBundle isn't really ideal for cache busting. For one many proxies tend to have issues with GET parameters for js/css assets. Furthermore its hard to determine when to increment the version.
as a quick fix for this we created the following command, but it basically requires you to update the actual templates with a hash. the good news is that you can run the command as often as you want .. it will be deterministic, but is it the best solution?