You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #45166 [HttpFoundation] add stale while revalidate cache header (remieuronews)
This PR was merged into the 6.1 branch.
Discussion
----------
[HttpFoundation] add stale while revalidate cache header
| Q | A
| ------------- | ---
| Branch? | 6.1
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Feat (symfony/symfony#45036)
| License | MIT
| Doc PR | [symfony/symfony-docs#... <!-- required for new features -->](symfony/symfony-docs#16445)
This PR allow support for RFC5861.
Meaning you can now use stale_while_revalidate and stale_if_error
https://httpwg.org/specs/rfc5861.html
Very interesting doc from Fastly on the subject:
https://developer.fastly.com/learning/concepts/stale/
Link to the issue
symfony/symfony#45036
Commits
-------
db553fb9f3 [cache] #45109 add stale while revalidate and stale if error cache header
0 commit comments