I am using Varnish 3.0.3
Presently I know how to purge single URLs using this VCL:
if (req.request == "PURGE") {
if (!client.ip ~ purge) {
error 405 "Not allowed";
}
return(lookup);
error 200 "Purged";
}
I would like to issue a wildcard purge, such as:
PURGE: http://www.mysite.com/images/*
Does Varnish support this?
Best Answer
Using telnet: