sqlish queries for cache invalidation?

Alexandros Kechagias alexandros.kechagias at gmail.com
Tue Jan 23 16:12:07 UTC 2018


Hi Experts,
I am looking for a way to invalidate a cache based on a set of different
"keys" that can be combined with each other with operators like "AND", "OR"
or "NOT".

So I am looking for something that basically behaves like the xkey mod from
varnish-modules[1] with the only difference that it can invalidate cache
objects in an SQLish way.

For example:
xkey.NewPurge("userfoo OR projectbar AND NOT instancebaz")

Do you know a way i could do that in varnish? I am capable of programming
and writing VCL.

[1]
https://github.com/varnish/varnish-modules/blob/master/src/vmod_xkey.vcc

Thanks for your time
Alexandros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20180123/96705c7f/attachment.html>


More information about the varnish-misc mailing list