- From: Dave Tapuska <notifications@github.com>
- Date: Thu, 21 Feb 2019 17:48:54 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/853/review/206449587@github.com>
dtapuska commented on this pull request. > <ol> - <li><p>If <var>storedResponse</var>'s <a for=response>header list</a> - <a for="header list">contains</a> `<code>ETag</code>`, then <a for="header list">append</a> - `<code>If-None-Match</code>` with its value to <var>httpRequest</var>'s - <a for=request>header list</a>. - - <li><p>If <var>storedResponse</var>'s <a for=response>header list</a> - <a for="header list">contains</a> `<code>Last-Modified</code>`, then - <a for="header list">append</a> `<code>If-Modified-Since</code>` with its value to - <var>httpRequest</var>'s <a for=request>header list</a>. + <li><p>Set <var>response</var> to <var>storedResponse</var>. + <li><p>Set <var>response</var>'s <a for=response>cache state</a> to "<code>local</code>". + <li><p>In parallel perform <a for=main>main fetch</a> using <var>request</var> with + <ul class=brief> + <li><p><i>stale content mode</i> set to "<code>disallow</code>" and `Reload` doesn't work here because it won't cause a revalidation but a forced network load. Nor do we want to append any special Cache-Control headers. I've added a note. -- 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_r259042245
Received on Thursday, 21 February 2019 17:49:18 UTC