PURGE http method and compression.

Ricardo Newbery ric at digitalmarbles.com
Fri May 2 00:13:00 CEST 2008


On May 1, 2008, at 2:57 PM, Wichert Akkerman wrote:

> 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.


Really?  I was not aware of that.  Great!

Ric







More information about the varnish-misc mailing list