Understanding the caching of Vary

Simon Males sime at sime.net.au
Mon May 23 06:19:34 CEST 2011


I've discovered mid migration to gzip (from no gzip) that assets where
not being cached across different clients.

Following the friendly Vary[1] tutorial I managed to resolve that.

But does this only cache gzip requesting clients. e.g. If non gzip
requesting client such as  curl made a request, that object would be
cached separately?

[1] http://www.varnish-cache.org/docs/2.1/tutorial/vary.html

Simon Males

More information about the varnish-misc mailing list