← Back to release summary

Cache API is restricted to secure origins

Category
Offline / Storage
Type
New or changed feature
Status
Enabled by default (Chrome 46)
Intent stage
None

Summary

Cache API exposed to window and worker contexts (not just service worker) shipped in Chrome 43. As of Chrome 46, the API is restricted to secure origins (HTTPS only), per https://github.com/slightlyoff/ServiceWorker/issues/709

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/Cache https://developer.mozilla.org/en-US/docs/Web/API/Cache/add https://developer.mozilla.org/en-US/docs/Web/API/Cache/addAll https://developer.mozilla.org/en-US/docs/Web/API/Cache/put

View on chromestatus.com