PURGE http method and compression.
Wichert Akkerman
wichert at wiggy.net
Thu May 1 23:57:35 CEST 2008
Previously Ricardo Newbery wrote:
>
> On Apr 28, 2008, at 4:21 AM, Poul-Henning Kamp wrote:
>
> > In message <4815AA34.5040300 at wiggy.net>, Wichert Akkerman writes:
> >
> >> That's interesting. So the default VCL for HTTP PURGE requests will
> >> not
> >> purge all variants? How can a backend know which variants there are
> >> so it
> >> can purge all of them?
> >
> > It probably can't, so if your backend returns "Vary:" headers, you
> > should
> > use the url.purge or hash.purge method.
>
>
> Well, this is very unfortunate. Both url.purge and hash.purge are
> command line only, correct? Can you think of any way to purge all
> variants via a PURGE request with some vcl tricks?
They were exposed in vcl in 1.1.1.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the varnish-misc
mailing list