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 <[email protected]>: > 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" > <[email protected]> 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 _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
