sqlish queries for cache invalidation?

Guillaume Quintard guillaume at varnish-software.com
Tue Jan 30 18:08:57 UTC 2018

Technically, bans are evaluated outside of vcl, after vcl_hash. We grab a
tentative obj, then test it, if it matches, we destroy the objcontinue
searching, otherwise we go to vcl_hit

Guillaume Quintard

On Jan 30, 2018 18:49, "Alexandros Kechagias" <
alexandros.kechagias at gmail.com> wrote:

> > ban() takes a string :-)
> D'oh! Thanks Guillaume, it works now. :-)
> The documentation says that:
> "Bans are checked when we hit an object in the cache, but before we
> deliver it." [1]
> I guess that's why obj.* is only available in vcl_hit and vcl_deliver,
> right?
> [1] http://varnish-cache.org/docs/4.0/users-guide/purging.html#bans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20180130/25c234c6/attachment.html>

More information about the varnish-misc mailing list