Varnish Grace Question?

Andreas Plesner Jacobsen apj at
Tue Jul 10 10:49:04 CEST 2012

On Mon, Jul 09, 2012 at 02:59:10PM -0700, nick tailor wrote:

> Nevermind I got it working. In case anyone else runs into this.
> You need have the following also setup in your grace configuration if you
> went varnish to server stale content when backends are down. Set this to
> like 6 hours, if this not set it defaults to 1 min and objects are removed
> from the cache after 1 min and everything goes bye bye.
> set beresp.ttl=1m;

That is not correct. The content will be removed only after ttl and grace
The most likely case is that you didn't cache at all because ttl was negative,
until you made this change.
The default default_ttl is 2 minutes, not one.


More information about the varnish-misc mailing list