libvmod / xkey

Dridi Boukelmoune dridi at
Mon Sep 25 07:31:25 UTC 2017

On Sun, Sep 24, 2017 at 6:14 AM, Mark Staudinger
<mark.staudinger at> wrote:
> Hi Folks,
> I'm evaluating the xkey module for use in my workflow and while I have
> tested successfully the basic functionality I am left with one question.
> Is there any way to provide criteria for matching keys?  It seems that when
> specifying multiple space-separated tags during the purge, any matching key
> will cause a purge.  Is there any way ( other than using regular ban ) to
> purge based based on matching two or more keys - logical AND instead of OR
> for the keys provided?

Hi Mark,

This is currently not possible, and that use case would definitely
make sense. We could have a parameter of type ENUM {union,
intersection} defaulting to union (the current behavior).

This is currently not on our roadmap, but we would gladly review
patches for this feature.


More information about the varnish-misc mailing list