Skip to content

Instantly share code, notes, and snippets.

@florentb
Created July 29, 2015 14:56
Show Gist options
  • Save florentb/2747111adc7eaa092437 to your computer and use it in GitHub Desktop.
Save florentb/2747111adc7eaa092437 to your computer and use it in GitHub Desktop.
# Clear all cache
$ varnishadm "ban req.url ~ /"
# or
$ varnishadm "ban req.http.host ~ www.mydomain.com"
# Purge only CSS
$ varnishadm "ban req.http.host ~ www.mydomain.com && req.url ~ .css"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment