Window.caches

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The Window.caches read-only property returns the CacheStorage object associated with the current origin. This object enables service worker functionality such as storing assets for offline use, and generating custom responses to requests.

Syntax

var myCacheStorage = window.caches;

Specifications

Specification Status Comment
Service Workers Working Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 43.0 39 (39) Not supported ? Not supported
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support Not supported 43.0 (Yes) (Yes) (Yes) (Yes) 43.0

See also

Document Tags and Contributors

 Contributors to this page: mar.castelluccio, teoli, jpmedley, kscarfone, chrisdavidmills
 Last updated by: mar.castelluccio,