High CPU usage when using ban with HTTP PURGE
perbu at varnish-software.com
Wed Aug 1 09:06:23 CEST 2012
On Mon, Jul 30, 2012 at 1:04 PM, Connor Walls
<connor.walls at skillpages.com>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.
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> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc