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.
var nameObj = self.applicationCache;
If a shared worker has an AppCache associated with it, you can return a reference to the cache using
from inside the shared worker.