Hi,<br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 1:04 PM, Connor Walls <span dir="ltr"><<a href="mailto:connor.walls@skillpages.com" target="_blank">connor.walls@skillpages.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">So the problem I'm having is purging all variations of the file based on "Accept" and "X-Forwarded-Proto" headers, as well as the host. Is this something that is even possible? I personally wouldn't have thought so but after seeing in the documentation (<a href="https://www.varnish-cache.org/docs/trunk/tutorial/purging.html" target="_blank">https://www.varnish-cache.org/docs/trunk/tutorial/purging.html</a>):  "The purge in vcl_miss is necessary to purge all variants in the cases where you hit an object, but miss a particular variant." Seems to imply that this functionality is present but I can't find any more documentation on how it works. Do I need to remove the hash_data() calls in vcl_hash and instead include "Accept" and "X-Forwarded-Proto" in the "Vary" header coming from the backend server?<br>

</blockquote><div><br></div><div>Yes. That is the way it is suppose to work.</div><div><br></div></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><div>Per Buer<br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br>

<i>Varnish makes websites fly!</i><div><a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>

<br></div></div><br>