Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

RFC 5861 Cache-Control Extensions for Stale Content (async cache refresh) #40

Open
da2x opened this issue Mar 11, 2019 · 2 comments
Open

Comments

@da2x
Copy link

da2x commented Mar 11, 2019

Given the following header: The plugin should cache for 30 seconds (s-maxage) and can then serve the cached variant to subsequent requests for another 90 seconds (6 hours if the background server returns an error) while asynchronously refreshing the cached variant.

Cache-Control: max-age=60, s-maxage=30, stale-while-revalidate=90, stale-while-error=21600

https://tools.ietf.org/html/rfc5861#section-3

@nicolasazrak
Copy link
Owner

I'm not working actively on this project (just fixing bugs and replying issues), but, if you want, I'm accepting PRs :)

@cryptiklemur
Copy link

This is gaining more traction now. I don't have the technical know-how to PR this, but I would really love to see this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants