We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

SharedWorkerGlobalScope.applicationCache

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.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'applicationCache' in that specification.
Living Standard  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support3 ?29 No10.6 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes ?29 Yes ? Yes

See also

Document Tags and Contributors

Last updated by: jonathanKingston,