- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 27 Sep 2019 05:00:34 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 27 September 2019 12:00:56 UTC
annevk commented on this pull request. > @@ -2049,6 +2049,12 @@ clearly stipulates that <a>connections</a> are keyed on <!-- See https://github.com/whatwg/fetch/issues/114#issuecomment-143500095 for when we make WebSocket saner --> +<h3 id=http-cache>HTTP Cache</h3> + +<p>A given request has an associated HTTP cache derived from the primary key(s). The primary key +may be the top-frame origin of the document and also possibly the origin of the subframe +associated with the request. When performing an <a>HTTP-network-or-cache fetch</a>, the associated +HTTP cache is used to fetch the request URL. I was thinking that we'd do this much more explicit. In particular, update HTML to define and propagate the top-level origin concept appropriately and then whenever we mention HTTP cache in this document instead invoke an algorithm that returns the appropriate cache. With this approach there's a lot of action-at-a-distance which is hard to maintain and often leads to all kinds of subtle issues. -- 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#pullrequestreview-294278919
Received on Friday, 27 September 2019 12:00:56 UTC