troubleshooting Varnish purges vs bans

Miguel Gonzalez miguel_3_gonzalez at
Wed Aug 9 17:50:25 CEST 2017

And what would be the right way to purge all the objects in the url? Or it can only be done with ban?



Dridi Boukelmoune <dridi at> wrote:

>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.
>varnish-misc mailing list
>varnish-misc at

More information about the varnish-misc mailing list