troubleshooting Varnish purges vs bans

Dridi Boukelmoune dridi at
Wed Aug 9 13:40:14 CEST 2017

On Wed, Aug 9, 2017 at 1:00 PM, Miguel González
<miguel_3_gonzalez at> wrote:
> On 08/09/17 11:54 AM, Dridi Boukelmoune wrote:
>>> -   ReqMethod      PURGE
>>> -   ReqURL         /.*
>> Hello Miguel,
>> A purge expects an exact match of an object hash, it doesn't work on
>> criteria like bans do. In order for a purge to succeed, you usually
>> need the exact Host header and URL in your purge request unless you
>> changed the default hash.
> This is not supposed to purge all objects for the whole site?

This would only purge "*" interpreted as a string,
not a regular expression.


More information about the varnish-misc mailing list