Commit 1c402b6
committed
minor #16445 [Cache] 45036 add stale while revalidate and stale if error support (remieuronews)
This PR was submitted for the 5.4 branch but it was merged into the 6.1 branch instead.
Discussion
----------
[Cache] 45036 add stale while revalidate and stale if error support
<html>
<body>
<!--StartFragment-->
Q | A
-- | --
Branch? | 5.4
Bug fix? | no
New feature? | yes
Deprecations? | no
Tickets | -
License | MIT
Doc PR | -
<!--EndFragment-->
</body>
</html>
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/
Commits
-------
995b2e6 [cache] 45036 add stale while revalidate and stale if error support1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
| 483 | + | |
482 | 484 | | |
483 | 485 | | |
484 | 486 | | |
| |||
506 | 508 | | |
507 | 509 | | |
508 | 510 | | |
| 511 | + | |
| 512 | + | |
509 | 513 | | |
510 | 514 | | |
511 | 515 | | |
| |||
0 commit comments