PATCH: stale-while-revalidate support

Nils Goroll slink at schokola.de
Sun Aug 17 13:45:49 CEST 2014



On 14/08/14 00:55, Federico Schwindt wrote:
> Comments inline.
> 
> On Mon, Aug 11, 2014 at 10:40 PM, Nils Goroll <slink at schokola.de
> <mailto:slink at schokola.de>> wrote:
> 
>     [..] 
> 
>     So what remains is that I think we should support the case where the object we
>     receive has age > max-age and put it into the cache with 0 ttl and appropriate
>     grace. The rfc is clear about this (second example).
> 
> 
> Where is this? I cannot really find/see it in the rfc.

http://tools.ietf.org/html/rfc5861

   the successful response can be returned instead:

     HTTP/1.1 200 OK
     Cache-Control: max-age=600, stale-if-error=1200
     Age: 900
     Content-Type: text/plain




More information about the varnish-dev mailing list