Re: [whatwg/fetch] Add Stale While Revalidate Handling (#853)

dtapuska commented on this pull request.



> @@ -4153,6 +4164,11 @@ Range Requests</cite>. [[HTTP-RANGE]] However, this is not widely supported by b
    `<code>User-Agent</code>`/<a>default `<code>User-Agent</code>` value</a>
    to <var>httpRequest</var>'s <a for=request>header list</a>.
 
+   <li><p>If <var>httpRequest</var>'s <a for=request>allows stale content flag</a> is set and
+   <var>httpRequest</var>'s <a for=request>header list</a> <a for="header list">contains</a>
+   <code>Cache-Control: Must-Revalidate</code>, then unset <var>httpRequest</var>'s
+   <a for=request>allows stale content flag</a>.

I've made it clear that we are looking for a directive in the header. Please let me know if this isn't sufficient. I've looked for other examples of parsing the cache-control header but didn't find any.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/853#discussion_r254374159

Received on Wednesday, 6 February 2019 17:35:59 UTC