Ignore utm_* values with varnish?
Mattias Geniar
mattias at nucleus.be
Thu Oct 12 12:10:49 UTC 2017
> Can I 'ignore' query string variables before pulling matching objects from the cache, but not actually remove them from the URL to the end-user?
The quickest ‘hack’ is to strip those parameters from the req.url, for a copy/paste’able example, please see here: https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl#L111-L115
Mattias
More information about the varnish-misc
mailing list