forked from whatwg/fetch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Async Stale While Revalidate Handling
Add definitions around fresh, stale-while-revalidate and stale responses. Define a new flag that allows no-cache mode to not append Cache-Control header. This allows stale while revalidate to use this mode and not to force revalidation of upstream caches. Fixes whatwg#852
- Loading branch information
Showing
1 changed file
with
79 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters