> 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

Reply via email to