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

Reply via email to