This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26423 - "HTTP network or cache fetch" is missing the cache part
Summary: "HTTP network or cache fetch" is missing the cache part
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Fetch (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+fetchspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22414
  Show dependency treegraph
 
Reported: 2014-07-24 06:31 UTC by Jeffrey Yasskin
Modified: 2015-04-07 05:56 UTC (History)
1 user (show)

See Also:


Attachments

Description Jeffrey Yasskin 2014-07-24 06:31:27 UTC
http://fetch.spec.whatwg.org/#http-network-or-cache-fetch appears to be missing wording to allow the response to come from the cache. It looks like such wording should appear just before [[Let response be the result of making an HTTP request]].

Service Workers, and possibly other specs, will want a way to explicitly disable the cache.
Comment 1 Anne 2014-07-27 11:34:43 UTC
Say we add a flag to bypass the local cache. Do we also exclude conditional headers from the request in that case?

Ideally all this is defined in detail, including the headers.
Comment 3 Anne 2014-10-28 15:56:56 UTC
It has a cache part now. The partial cache part however is incomplete. Not sure how to fix that yet.

It's also lacking a flag on responses to indicate if they came from a cache or partial cache.
Comment 5 Anne 2015-04-07 05:56:07 UTC
The remaining issues are here:

* https://github.com/whatwg/fetch/issues/38
* https://github.com/whatwg/fetch/issues/39
* https://github.com/whatwg/fetch/issues/40

Closing this one.