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

Regards,

Miguel

Dridi Boukelmoune <dr...@varni.sh> wrote:

>On Wed, Aug 9, 2017 at 1:00 PM, Miguel González
><miguel_3_gonza...@yahoo.es> 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 "www.mydomain.com/.*" interpreted as a string,
>not a regular expression.
>
>Dridi
>
>_______________________________________________
>varnish-misc mailing list
>varnish-misc@varnish-cache.org
>https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to