[whatwg/fetch] Http cache (#496)

For #373.

Also should help #336 (since HTTP clearly says this, and there's a direct reference now).

I think it addresses #307 (although Anne may want a different approach).

Touches #144.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/496

-- Commit Summary --

  * Start cache rewrite
  * talk about storing responses
  * serving stale responses
  * move reference
  * don't network error on force-cache
  * don't worry about serving stale in revalidating flag
  * abort, add TODO for partial
  * punctuation around references
  * add note about negative caching
  * invalidation!
  * vary cache on credentials
  * formatting
  * don't return partial responses to only-if-cached
  * disambiguate
  * null -> network error
  * note negative caching

-- File Changes --

    M fetch.bs (182)

-- Patch Links --

https://github.com/whatwg/fetch/pull/496.patch
https://github.com/whatwg/fetch/pull/496.diff

-- 
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/496

Received on Wednesday, 1 March 2017 04:48:05 UTC