query string ordering and banning

Richard Guest R.Guest at gns.cri.nz
Wed Mar 20 23:09:53 CET 2013


As long as you know what all the parameters are, sorting them "by hand" in your VCL should work.

Otherwise you could try using libvmod-querystring to sort the URL parameters? https://github.com/Dridi/libvmod-querystring

Cheers,
Rich


-----varnish-misc-bounces at varnish-cache.org wrote: -----
To: "varnish-misc at varnish-cache.org" <varnish-misc at varnish-cache.org>
From: Sean Allen 
Sent by: varnish-misc-bounces at varnish-cache.org
Date: 21/03/2013 09:26
Subject: query string ordering and banning

I found this old mailing list entry for using query string parameters in an 'unordered' fashion for consistent hashing:

https://www.varnish-cache.org/lists/pipermail/varnish-misc/2011-May/020472.html

Can I use this same approach when building a url to store on the beresp to do ban matching against?


-- 

Ce n'est pas une signature
_________________________
______________________
varnish-misc mailing list
varnish-misc at varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

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


More information about the varnish-misc mailing list