SharedWorkerGlobalScope.applicationCache

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

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
WHATWG HTML Living Standard
The definition of 'applicationCache' in that specification.
Living Standard  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Support 3 29.0 (29.0) No support 10.60 No support
Feature Android Chrome for Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
Support ? No support 29.0 (29.0) 1.4 ? ? ?

See also

文档标签和贡献者