kevincupp/purge.ee2_addon — Issue #2: Smart Purge is now Ban
Author: johnbacon
Created: 2011-12-14 20:21:37+00:00
State: open

Just a heads up, because I'm new to Varnish and was wondering why I kept receiving compile errors in 3.x Varnish.

Purge no longer takes arguments and has become ban. In the readme, it should now be

```
if (req.request == "EE_PURGE") {
purge("req.http.host ~ example.com && req.url ~ ^/.*$");
error 200 "Purged";
}
```

See [the upgrade documentation](https://www.varnish-cache.org/docs/trunk/installation/upgrade.html) for more.