Re: [whatwg/fetch] HTTP cache partitioning (#943)

shivanigithub commented on this pull request.



> +  <p>If <var>request</var>'s <a for=request>client</a> is null, terminate these steps.</li>
+
+ <li>
+  <p>Let <var>environmentSettings</var> be <var>request</var>'s <a for=request>client</a>.</li>
+
+ <li>
+  <p>Let <var>topLevelOrigin</var> be <var>environmentSettings</var>'s top-level origin and
+  <var>origin</var> be <var>environmentSettings</var>'s origin.</li>
+
+ <li>
+  <p>Return the HTTP cache associated with <var>topLevelOrigin</var> and optionally,
+  <var>origin</var>.</li>
+</ol>
+
+<p class="note no-backref">User agents can use the registrable domains associated with
+<var>topLevelOrigin</var> and <var>origin</var> instead of the origins themselves.

Since Chrome and Firefox are considering "site" and Safari already does that, changed it to use "agent cluster key". Although I could not get it to link to https://html.spec.whatwg.org/#obtain-agent-cluster-key. Would that require change in the way obtain-agent-cluster-key is defined in the html spec? Sorry, I am not very familiar with spec language.

-- 
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/943#discussion_r384782701

Received on Wednesday, 26 February 2020 21:40:18 UTC