You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
The Cache Storage API spec was updated to cause
cache.add()
/cache.addAll()
calls to reject unless theResponse.code
is 200.This article has an example with
new Request('//example.com/whatever/script.js', {mode: 'no-cors'})
which will always lead to aResponse.code
of0
, sinceno-cors
leads to opaque responses.The article needs to be updated to remove that example.
The text was updated successfully, but these errors were encountered: