On 10 April 2010 01:23, David Birdsong <[email protected]> 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 _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
