Understanding the caching of Vary
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon May 23 10:15:24 CEST 2011
In message <BANLkTikEHq77xHby4r91Z85uXx=WotV64w at mail.gmail.com>, Simon Males writes:
>Not in this example.
>
>Load the following page in Firefox (e.g.):
>
>http://www.varnish-cache.org/themes/bluemarine/style.css
>
>I get the X-Varnish identifier as 120088317
>
>Hitting the same URL with curl I get : 120088247
>
>I guess this example is invalid?
Use varnishlog to see what goes on.
Very likely, your browser sends other headers (cookies ?)
which makes the two requests not hit the same object.
Poul-Henning
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list