Created
July 29, 2015 14:56
-
-
Save florentb/2747111adc7eaa092437 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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