- From: Matt Menke <notifications@github.com>
- Date: Wed, 05 Aug 2020 12:38:58 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1063/review/461842418@github.com>
@MattMenke2 commented on this pull request. Thanks again, Anne! > given <var>httpRequest</var>. + <li><p>Set <var>httpCache</var> to null. You're correct - completely missed it, given how far up it is. > @@ -2123,11 +2125,11 @@ clearly stipulates that <a>connections</a> are keyed on WebSocket saner --> -<h3 id=http-cache-partitions>HTTP cache partitions</h3> +<h3 id=http-state-partition>Network partition key</h3> Done. > @@ -2158,12 +2160,31 @@ given <var>request</var>, run these steps: <li><p>Let <var>topLevelSite</var> be the result of <a lt="obtain a site">obtaining a site</a>, given <var>topLevelOrigin</var>. - <li> - <p>Return the HTTP cache associated with <var>topLevelSite</var> and, possibly, a second key. - [[!HTTP-CACHING]] + <li><p>Let <var>secondKey</var> be the second key, or null. Much better, thanks! > <p class=XXX>The second key is intentionally a little vague as the finer points are still evolving. See <a href=https://github.com/whatwg/fetch/issues/1035>issue #1035</a>. + + <li><p>If <var>secondKey</var> is not null, return (<var>topLevelSite</var>, <var>secondKey</var>). Done. > @@ -2071,15 +2071,16 @@ for each associated <a for="fetch group">fetch record</a> whose <a for=connection>connection pool</a> consists of zero or more <dfn lt=connection export id=concept-connection>connections</dfn>. Each <a>connection</a> is identified by an <b>origin</b> (an -<a for=/>origin</a>) and <b>credentials</b> (a boolean). +<a for=/>origin</a>), <b>credentials</b> (a boolean), and +<b>networkPartitionKey</b> (a <a for=/>site</a> list or null). Done. Renamed it in HTTP cache partitions section as well, but stuck with networkPartitionKey in the logic to find a connection, since that's a longer method. > @@ -2123,11 +2125,11 @@ clearly stipulates that <a>connections</a> are keyed on WebSocket saner --> -<h3 id=http-cache-partitions>HTTP cache partitions</h3> +<h3 id=http-state-partition>Network partition key</h3> Done > + + <li><p>If <var>secondKey</var> is not null, return (<var>topLevelSite</var>, <var>secondKey</var>). + + <li><p>Return (<var>topLevelSite</var>) + +</ol> + + +<h3 id=http-cache-partitions>HTTP cache partitions</h3> + +<p>To +<dfn lt="determine the HTTP cache partition|determining the HTTP cache partition">determine the HTTP cache partition</dfn>, +given <var>request</var>, run these steps: + +<ol> + <li><p>Set <var>networkPartitionKey</var> to the result of <a>determining the network partition key</a>. Done > + + <li><p>Return (<var>topLevelSite</var>) + +</ol> + + +<h3 id=http-cache-partitions>HTTP cache partitions</h3> + +<p>To +<dfn lt="determine the HTTP cache partition|determining the HTTP cache partition">determine the HTTP cache partition</dfn>, +given <var>request</var>, run these steps: + +<ol> + <li><p>Set <var>networkPartitionKey</var> to the result of <a>determining the network partition key</a>. + + <li><p>If <var>networkPartitionKey</var> is non-null, return null. Both fixed. > + +</ol> + + +<h3 id=http-cache-partitions>HTTP cache partitions</h3> + +<p>To +<dfn lt="determine the HTTP cache partition|determining the HTTP cache partition">determine the HTTP cache partition</dfn>, +given <var>request</var>, run these steps: + +<ol> + <li><p>Set <var>networkPartitionKey</var> to the result of <a>determining the network partition key</a>. + + <li><p>If <var>networkPartitionKey</var> is non-null, return null. + + <li><p>Otherwise, Return the unique HTTP cache associated with the <var>networkPartitionKey</var>. Done -- 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/1063#pullrequestreview-461842418
Received on Wednesday, 5 August 2020 19:39:11 UTC