So, we’re getting somewhere.
Here is a quick example of the new ban(/purge/invalidation) distribution API we have in the development version of the Varnish Administration Console:
$ curl -X POST –user user:pw -H ‘Content-Type: text/plain’ -d ‘req.http.url ~ “/articles/FOO”‘ http://vac.local/api/v1/cachegroup/production/ban {“status”:”200″,”text”:”Ban executed successfully”}With this you can invalidate content on your N active Varnish servers with a simple HTTP request from the backend/CMS. Super easy!