<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">very cool, want some help turning this into a vmod?  inline C is sooo 2.0 :-)<div><br></div>

</blockquote><div><br></div><div>Haha, I feel like an old fart now ;-) </div><div>Yes I could use some help turning this in a vmod, reading the doc now but it's kinda limited</div><div><br></div><div>Olivier</div><div>
<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div></div><div>This is actually very helpful to have a consistent cache key when you get the same URL but different order of query params.</div>
<div><br></div><div>Cheers,</div><div>AD<br><br><div class="gmail_quote"><div><div>On Thu, Jan 5, 2012 at 8:50 AM, Olivier Van Acker <span dir="ltr"><<a href="mailto:cyberroadie@gmail.com" target="_blank">cyberroadie@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>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<div>


blog post explaining it: </div>
<div><a href="http://cyberroadie.wordpress.com/2012/01/05/varnish-reordering-query-string/" target="_blank">http://cyberroadie.wordpress.com/2012/01/05/varnish-reordering-query-string/</a></div><div><br></div><div>source code:</div>


<div>
<a href="https://github.com/cyberroadie/varnish-urlsort" target="_blank">https://github.com/cyberroadie/varnish-urlsort</a></div><div><br></div><div>I haven't used this in a large scale live environment (yet), so please be careful and test first! </div>



<div><br></div><div>Hope its useful, </div><div><br></div><font color="#888888"><div>Olivier</div>
</font><br></div></div>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>
</blockquote></div><br>