You need it in the vcl_miss because you need to clear our Very objects as well.
Raul From: [email protected] [mailto:[email protected]] On Behalf Of Sean Allen Sent: Friday, March 15, 2013 8:12 AM To: [email protected] Subject: vcl_miss and purge question 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
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
