How to ignore chars after question mark in URL?

Kurt Kraut listas at kurtkraut.net
Tue Apr 3 16:25:12 CEST 2012


Hi,


I need to cache URLs of the same file but the front-end developer generates
a random string, e.g.:

www.kurtkraut.net/index.css?234234432
www.kurtkraut.net/index.css?654323256
www.kurtkraut.net/index.css?905837831

How can I get a HIT for www.kurtkraut.net/index.css not matter the presence
or not of the question mark and the random string after the question mark?
Is it possible to ignore the presence of the question mark and the rest of
the URL?


Thanks in advance,


Kurt Kraut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120403/ae250cf5/attachment.html>


More information about the varnish-misc mailing list