On Mon, Mar 1, 2010 at 5:53 PM, Alessandro Ronchi <span dir="ltr"><<a href="mailto:alessandro.ronchi@soasi.com">alessandro.ronchi@soasi.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
How can I purge the varnish cache for a domain ?<br></blockquote><div><br></div><div>in the cli:</div><div><br></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; white-space: pre; ">purge req.http.host ~ <a href="http://www.foo.com">www.foo.com</a></span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; white-space: pre; "></span> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is it possible to avoid varnish cache when debugging a website?<br></blockquote><div><br></div><div>Yes.</div><div><br></div><div>You could either set an ACL and do "pass" for this ACL in vcl_recv or disable caching by passing all requests.</div>
<div><br></div></div>-- <br>Per Andreas Buer, CEO, Varnish Software AS<br>Phone: +47 21 54 41 21 / Mobile: +47 958 39 117 / skype: per.buer<br>