Hi, On Mon, Jul 30, 2012 at 1:04 PM, Connor Walls <[email protected]>wrote:
> 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 ( > https://www.varnish-cache.org/docs/trunk/tutorial/purging.html): "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? > Yes. That is the way it is suppose to work. -- Per Buer Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer *Varnish makes websites fly!* Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> | Twitter <https://twitter.com/varnishsoftware>
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
