Web/API/SharedWorkerGlobalScope/applicationCache

From Get docs


Important: Application Cache is deprecated as of Firefox 44, and is no longer available in insecure contexts from Firefox 60 onwards (bug 1354175, currently Nightly/Beta only). Don't use it to make offline websites — consider using service workers instead.


The applicationCache read-only property of the SharedWorkerGlobalScope interface returns the ApplicationCache object for the worker (see Using the application cache).

Syntax

var nameObj = self.applicationCache;

Value

An ApplicationCache.

Example

If a shared worker has an AppCache associated with it, you can return a reference to the cache using

self.applicationCache

from inside the shared worker.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
applicationCache Chrome

Full support 4

Edge

Full support ≤79

Firefox

Full support 29

IE

No support No

Opera

Full support 10.6

Safari

No support No

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 29

Opera Android

Full support Yes

Safari iOS

?

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown


See also