Extend asset helper to disable cache buster


#1

Quite a few asset pipeline tools (gulp, webpack etc) offer the ability to include a cache busting hash in the file name (ie main-ee5afdfd.min.css). This is great for caching since the bash only changes when the file contents does. When using this technique and the asset helper you end up with two cache busting aspects:

main-ee5afdfd.min.css?v=45a1ec5d3a

Great when just dumping CSS files in, not so great when you’re already adding a unique key to each file. I can get around this by not using the asset helper and just linking the style sheets/JS files without the helper but this (understandably!) throws warnings in GSCAN.

It would be great if the asset helper was extended to offer a flag to turn off the cache busting tag.