varnish 3 - odd behaviour with using PURGE against cached objects

Andreas Plesner Jacobsen apj at
Wed Aug 14 10:33:06 CEST 2013

On Wed, Aug 14, 2013 at 07:21:24AM +0000, Mattias Geniar wrote:
> > 
> > Unless someone out there knows of a varnish plugin for joomla (similar
> >to the 'varnish http
> > purge' available for wordpress), then I need to be able to manually
> >issue cache purges.
> You are performing a purge of the cache from the non-gzipped content. You
> purge command does not have the 'Accept-Encoding: gzip,deflate,sdch'
> header, whereas your normal request does. Varnish is simply returning the
> gzipped version of the cache where you only flushed the non-gzipped
> version.

In varnish 3 there's only one copy. gzip is handled on the fly.

(the purge keyword will also purge all variants)


More information about the varnish-misc mailing list