From b598325e21f9761198106a1e78b06b7b002399a4 Mon Sep 17 00:00:00 2001 From: MDN Date: Sat, 13 Nov 2021 00:48:29 +0000 Subject: [CRON] sync translated content --- .../api/serviceworkerglobalscope/caches/index.html | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100644 files/zh-cn/web/api/serviceworkerglobalscope/caches/index.html (limited to 'files/zh-cn/web/api') diff --git a/files/zh-cn/web/api/serviceworkerglobalscope/caches/index.html b/files/zh-cn/web/api/serviceworkerglobalscope/caches/index.html deleted file mode 100644 index bead85ce7c..0000000000 --- a/files/zh-cn/web/api/serviceworkerglobalscope/caches/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: ServiceWorkerGlobalScope.caches -slug: Web/API/ServiceWorkerGlobalScope/caches -translation_of: Web/API/ServiceWorkerGlobalScope/caches ---- -

{{APIRef("Service Workers API")}}

- -

caches 是一个 {{domxref("ServiceWorkerGlobalScope")}} 接口的只读属性,返回与当前service worker相关联的{{domxref("CacheStorage")}}对象。

- -

语法

- -
var myCacheStorage = self.caches;
-
- -

返回值

- -

一个 {{domxref("CacheStorage")}} 对象。

- -

规范

- - - - - - - - - - - - - - -
规范状态备注
{{SpecName('Service Workers', '#global-caches', 'ServiceWorkerGlobalScope.caches')}}{{Spec2('Service Workers')}}Initial definition.
- -

浏览器兼容性

- -
- - -

{{Compat("api.ServiceWorkerGlobalScope.caches")}}

-
- -

参见

- - -- cgit v1.2.3-54-g00ecf