Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

[EN] Feedback for: /web/updates/2015/09/updates-to-cache-api?hl=en #3020

Closed
jeffposnick opened this issue Jun 24, 2016 · 0 comments
Closed

Comments

@jeffposnick
Copy link
Contributor

The Cache Storage API spec was updated to cause cache.add()/cache.addAll() calls to reject unless the Response.code is 200.

This article has an example with new Request('//example.com/whatever/script.js', {mode: 'no-cors'}) which will always lead to a Response.code of 0, since no-cors leads to opaque responses.

The article needs to be updated to remove that example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant