<div dir="ltr">Hey guys,<div><br></div><div> I'm trying to keep a copy of the site I'm working on in cache for 1 hour. My goal is to be able to stop the web server(s) completely, and have the site served from cache in a worst case scenario. </div><div><br></div><div> So I tried adding the following vcl_fetch to my default.vcl file expecting this to be a success. But when I stop the web server the site immediately disappears with a GURU Meditation error showing in the web browser: <br><br><div>sub vcl_fetch {</div><div><br></div><div>   if ( req.url ~ "^www\.ref\.mydomain\.com$") {</div><div>   set beresp.ttl = 3600s;</div><div>   }</div><div><br></div><div>    return (deliver);</div><div>}</div><div><br></div><div><br></div><div>I'd definitely appreciate any advice you'd have!</div><div><br></div><div>Thanks</div><div>Tim</div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div></div>