vcl_miss and purge question
Sean Allen
sean at monkeysnatchbanana.com
Fri Mar 15 15:11:34 CET 2013
Using varnish 3. Our configuration works but when I was putting it
together, I was learning from docs and blog posts. I have:
sub vcl_hit {
# 'manual' purge
if (req.request == "PURGE") {
purge;
error 200 "Purged.";
}
}
sub vcl_miss {
# 'manual' purge
if (req.request == "PURGE") {
purge;
error 404 "Not in cache.";
}
}
Does the purge in vcl_miss need to be there?
Could it just be:
sub vcl_miss {
# 'manual' purge
if (req.request == "PURGE") {
error 404 "Not in cache.";
}
}
?
Thanks,
Sean
--
Ce n'est pas une signature
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130315/3d427b99/attachment.html>
More information about the varnish-misc
mailing list