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
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.