In Varnish 1.0 there was only one way or ejecting content from Varnish. You had to add VCL code that could find the object and set the TTL to zero. The typical, and squid-compatible way of doing it was by creating a new HTTP method and call it "PURGE". The VCL would typically look like this: sub vcl_hit { if (req.request == "PURGE") { set obj.ttl = 0s; error 200 "Purged."; } } You'd also probably
![Bans and purges in Varnish 3.0](https://cdn-ak-scissors.b.st-hatena.com/image/square/75c0fbe31543bac765886cf0977ac40823255184/height=288;version=1;width=512/https%3A%2F%2Finfo.varnish-software.com%2Fhubfs%2F4741076931_5b9095902e_b.jpg)