sqlish queries for cache invalidation?

Alexandros Kechagias alexandros.kechagias at gmail.com
Wed Jan 31 11:53:48 UTC 2018


Ok, I see, there's still a lot to learn for me. :-)

Thanks for your time Guillaume!

2018-01-30 19:08 GMT+01:00 Guillaume Quintard <guillaume at varnish-software.com>:
> 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


More information about the varnish-misc mailing list