normalizing ?ver= css and js

Miguel Gonzalez miguel_3_gonzalez at
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 reports there are still css and js files being delivered with those strings.
  What am I doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list