On 9 July 2011 07:25, Everton Blair <[email protected]> wrote: > If I do: > sub vcl_recv { > if (req.request == "PURGE") { > if (!client.ip ~ purge) { > error 405 "Not allowed."; > } > ban("req.host == " req.http.host " && req.url == /magazine-homepage/"); > return(lookup); > } > Won't that stop that page ever being cached, or is a ban not a 'ban' and > just another type of flush/purge? VCL seems to = Very confusing language! > On Sat, Jul 9, 2011 at 12:29 AM, Laurence Rowe <[email protected]> wrote:
No, a 'ban' only affects objects already in the cache at the time it is set. Laurence P.S. Please stay on the mailing list rather than replying privately. _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
