Varnish Hash
Ricardo Newbery
ric at digitalmarbles.com
Fri Dec 7 03:09:57 CET 2007
On Dec 6, 2007, at 2:34 PM, Poul-Henning Kamp wrote:
> In message <d4284sx3kke05yf.061220071449 at torlen.net>, Erik writes:
>> Just to make this clear, does varnish identify an object like this
>> in vcl_hash?
>>
>> sub vcl_hash {
>> set req.hash += req.url;
>> set req.hash += req.http.host;
>> hash;
>> }
>
> Well, mostly. That is the primary identification, but each match
> can have multiple different objects, depending on the Vary header
> and ttl.
Apologies for butting into this thread...
Multiple objects depending on ttl? Can you elaborate?
Also, how are purges done when variations exist? I'm guessing all
variations get purged. Is this correct?
Ric
More information about the varnish-misc
mailing list