Re: troubleshooting Varnish purges vs bans

2017-08-21 Thread Dridi Boukelmoune
On Wed, Aug 16, 2017 at 12:13 PM, Miguel González wrote: > I have found out how to make to work varnish http purge plugin with > Varnish 4.x in this article (funny it´s on the Varnish blog) Thanks for letting us know, and sorry for not replying earlier! Dridi ___

Re: troubleshooting Varnish purges vs bans

2017-08-16 Thread Miguel González
I have found out how to make to work varnish http purge plugin with Varnish 4.x in this article (funny it´s on the Varnish blog) https://info.varnish-software.com/blog/step-step-speed-wordpress-varnish-software?success=true I have to say If I added the snippet mentioned: if (req.http.X-Purge-M

Re: troubleshooting Varnish purges vs bans

2017-08-15 Thread Miguel González
On 08/11/17 12:22 PM, Dridi Boukelmoune wrote: >> The Wordpress plugin is supposed to clean the whole cache for a website >> when clicking on a button saying "Clear cache". >> >> You say from the varnishlog excerpt I sent that´s not the correct way >> of doing so, or apparently what is logged by

Re: troubleshooting Varnish purges vs bans

2017-08-11 Thread Dridi Boukelmoune
> The Wordpress plugin is supposed to clean the whole cache for a website > when clicking on a button saying "Clear cache". > > You say from the varnishlog excerpt I sent that´s not the correct way > of doing so, or apparently what is logged by varnish is not a correct purge. > > So how do I tel

Re: troubleshooting Varnish purges vs bans

2017-08-10 Thread Miguel González
On 08/10/17 1:12 PM, Dridi Boukelmoune wrote: > On Wed, Aug 9, 2017 at 5:50 PM, Miguel Gonzalez > wrote: >> And what would be the right way to purge all the objects in the url? Or it >> can only be done with ban? > > I'm not sure what you mean by "all the objects in the url", can you > please gi

Re: troubleshooting Varnish purges vs bans

2017-08-10 Thread Dridi Boukelmoune
On Wed, Aug 9, 2017 at 5:50 PM, Miguel Gonzalez wrote: > And what would be the right way to purge all the objects in the url? Or it > can only be done with ban? I'm not sure what you mean by "all the objects in the url", can you please give me an example involving several objects? Dridi __

Re: troubleshooting Varnish purges vs bans

2017-08-09 Thread Miguel Gonzalez
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 wrote: >On Wed, Aug 9, 2017 at 1:00 PM, Miguel González > wrote: >> On 08/09/17 11:54 AM, Dridi Boukelmoune wrote: - ReqMethod PURGE - Req

Re: troubleshooting Varnish purges vs bans

2017-08-09 Thread Dridi Boukelmoune
On Wed, Aug 9, 2017 at 1:00 PM, Miguel González 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 pu

Re: troubleshooting Varnish purges vs bans

2017-08-09 Thread Miguel González
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 UR

Re: troubleshooting Varnish purges vs bans

2017-08-09 Thread Dridi Boukelmoune
> - 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.