PATCH: stale-while-revalidate support

Federico Schwindt fgsch at lodoss.net
Mon Aug 18 10:15:12 CEST 2014


This is for s-i-e and I don't really see how that is related s-w-r unless
I'm missing something.


On Sun, Aug 17, 2014 at 12:45 PM, Nils Goroll <slink at schokola.de> wrote:

>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140818/92fe2ac3/attachment.html>


More information about the varnish-dev mailing list