normalizing ?ver= css and js

Miguel Gonzalez miguel_3_gonzalez at yahoo.es
Tue May 12 20:19:27 CEST 2015


Dear all,
  I have Varnish 4 installed, in vcl_recv I have added this line:
  set req.url = regsub(req.url, "\?ver=.*$", "");
  
  which supposedly normalizes all css and js ?ver=xxxx strings. 
   However tools.pingdom.com reports there are still css and js files being delivered with those strings.
  What am I doing wrong?
  Thanks!  
   Miguel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150512/5c25902a/attachment.html>


More information about the varnish-misc mailing list