Reordering query parameters

Olivier Van Acker cyberroadie at gmail.com
Thu Jan 5 14:50:18 CET 2012


I've written a small piece of C code which can be embedded in the varnish
configuration. It puts the query parameters of an URL in order, so equal
URLs with their parameters in different order become the same
blog post explaining it:
http://cyberroadie.wordpress.com/2012/01/05/varnish-reordering-query-string/

source code:
https://github.com/cyberroadie/varnish-urlsort

I haven't used this in a large scale live environment (yet), so please be
careful and test first!

Hope its useful,

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


More information about the varnish-misc mailing list