PURGE Regardless of Vary/Hash

Dridi Boukelmoune dridi.boukelmoune at zenika.com
Tue Jan 13 20:52:02 CET 2015

On Tue, Jan 13, 2015 at 8:32 PM, Max Clark <max.clark at gmail.com> wrote:
> Is that the only difference between BAN and PURGE?

Nope, both are fundamentally different!

> Here's the recv, hash, hit and miss logic:
> https://dpaste.de/V6d4
> With this do I need to iterate over the different possible hash_data or will
> the purge in the miss take care of it?

Like I said, a purge picks objects from a hash. So in your case if you
want to purge www.foo.com/directory/article/ you need to handle
X-Edition headers in your purge request(s).

> Thanks!
> Max
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

More information about the varnish-misc mailing list