Skip to content

Instantly share code, notes, and snippets.

@seyhunak
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyhunak/8717703 to your computer and use it in GitHub Desktop.
Save seyhunak/8717703 to your computer and use it in GitHub Desktop.
Varnish Commands
Varnish Admin:
varnishtop -i txurl
varnishadm -T 127.0.0.1:6082 url.purge // Purge all cache (requires authentication)
varnishadm "ban req.url ~ /"
Varnish Test:
sudo apt-get install libwww-perl && GET -Used http://localhost:6081/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment