different object hashed for firefox and chrome
Laurence Rowe
l at lrowe.co.uk
Sun Apr 11 16:59:14 CEST 2010
On 10 April 2010 01:23, David Birdsong <david.birdsong at gmail.com> wrote:
>> My point was rather that the requests still hash the same, you're
>> getting a different object on Vary. vcl_hash lets you set the cache
>> path based only on the request, vcl_fetch and Vary let you set the
>> cache path further based on the response. It's not yet shown on the
>> flowchart at http://varnish-cache.org/wiki/VCLExampleDefault.
>
> so how is that cache path that is set in vcf_fetch based on response
> reached after the object is stored and then re-requested?
Based on the request headers specified in the Vary header of the response. e.g.
(Response) Vary: Accept-Encoding, Accept-Language
Will cause different objects to be returned for each variation of
req.http.Accept-Encoding * req.http.Accept-Language
Laurence
More information about the varnish-misc
mailing list