title: What is the difference between beresp.grace & obj.grace
body: <p>In setting up my default.vcl file (Varnish 3) I'm seeing different recommendations for vcl_fetch to use either beresp.grace or obj.grace.  What is the difference?</p>
  
  <p><a href="https://www.varnish-cache.org/docs/3.0/reference/vcl.html" rel="nofollow">https://www.varnish-cache.org/docs/3.0/reference/vcl.html</a>
  obj.grace
   The object's grace period in seconds. obj.grace is writable.
  beresp.grace
   Set to a period to enable grace.</p>
  
  <p>Sounds pretty much the same.</p>
  
  <p>Should they be used together like <a href="https://www.varnish-software.com/static/book/Saving_a_request.html" rel="nofollow">https://www.varnish-software.com/static/book/Saving_a_request.html</a>
      set beresp.ttl=1m;
      set req.grace = 30s;
      set beresp.grace = 1h;</p>
  
  <p>I'd like some clarity.  Also ideas on ttl would be useful too.  Sadly many of the docs are still for V2:
    <a href="http://drupal.org/node/1823970" rel="nofollow">http://drupal.org/node/1823970</a></p>