Clear the cache in Varnish

Recently I've been working with Varnish for quite a bit. And the thing that keeps coming back is that I need to clear the cache.

And it's actually simple, just run:

varnishadm "ban ~ {domain-to-clear}"

And Varnish will clear itself without restarting. Awesome !

Posted on 2014/12/28 by Johann du Toit

comments powered by Disqus