PURGE Regardless of Vary/Hash

Thomas Lecomte thomas.lecomte at virtual-expo.com
Tue Jan 13 20:01:18 CET 2015


On Tue, Jan 13, 2015 at 7:25 PM, Max Clark <max.clark at gmail.com> wrote:
> Regardless of any Vary, or Cookie hash data what needs to happen with the
> VCL?

Hello Max,

I think you need to perform one PURGE call per variant, with the
appropriate data in the headers so that the VCL can compute the hash
of every single object you want to purge from the cache. I don't think
you can purge multiple objects at once, unlike with bans.

If I am wrong, I would love to be corrected because I had the very
same issue and had to went with bans instead :-)

/Thomas

-- 
Thomas Lecomte | Sysadmin
Virtual Expo, Marseille, France



More information about the varnish-misc mailing list