Any extra help? I think this is very interesting.<div><br></div><div>--</div><div>Roberto O. Fernández Crisial</div><div>@rofc<br><br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 12:28 PM, AD <span dir="ltr"><<a href="mailto:straightflush@gmail.com">straightflush@gmail.com</a>></span> wrote:<br>
<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><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 class="h5">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 class="h5">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>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">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>