req.grace default

Graham Lyons graham.lyons at bbc.co.uk
Tue Aug 30 18:19:17 CEST 2011


Version 2.1.3

I'm trying to set Varnish up to use Saint mode and I've noticed that if I set beresp.grace=30s and beresp.saintmode=10s, cache a response and then make the backend fail I'll get stale content served for 10 seconds and then get 503 error responses from Varnish. The backend is still only contacted every 10 seconds.

If req.grace is set to 30s then I get stale content for 30 seconds. Does req.grace have a default value which is causing this behaviour?

Thanks,
Graham.

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2179 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110830/d5f7a247/attachment-0003.bin>


More information about the varnish-misc mailing list