Hello,<br><br>So, I used this link <a href="http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal">http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal</a> to setup my varnish stuff.<br><br>Made some minor adjustments to the probes, however if I stop stop one of my webservers to see if the content my varnish serves is from the cache, it just shows a page service unavailble, and from what I've read you need to have the grace mode stuff in there, which this default vcl for version 3 does.<br>
<br>Anyone, have any ideas why my Drupal sites are not serving cached? when my backend are down.<br><br>=====================================================<br># Respond to incoming requests.<br>sub vcl_recv {<br> # Allow the backend to serve up stale content if it is responding slowly.<br>
set req.grace = 6h;<br>}<br><br># Code determining what to do when serving items from the Apache servers.<br>sub vcl_fetch {<br> # Allow items to be stale if needed.<br> set beresp.grace = 6h;<br>}<br>=====================================================<br>
<br>Cheers <br><br>Nick Tailor<br>