aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/applicationcache/index.html
blob: 945ab7bd125aa47293fb055153fa3ef6727bad4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: window.applicationCache
slug: Web/API/Window/applicationCache
tags:
  - HTML5
  - HTML5.1
  - HTML5.2
  - REC
translation_of: Web/API/Window/applicationCache
---
<p>{{APIRef}}</p>

<h2 id="Summary" name="Summary">概要</h2>

<p>返回该window 中的应用缓存对象的一个引用。</p>

<h2 id="Syntax" name="Syntax">语法</h2>

<pre class="syntaxbox"><var>cache</var> = window.applicationCache
</pre>

<h3 id="Parameters" name="Parameters">参数</h3>

<ul>
 <li><code>cache</code> 对象是一个 {{domxref("OfflineResourceList")}} 的引用。</li>
</ul>

<h2 id="Specification" name="Specification">规范</h2>

<ul>
 <li>{{spec("https://www.w3.org/TR/html5/browsers.html#appcache","HTML 5","REC")}}</li>
</ul>

<h2 id="参见">参见</h2>

<ul>
 <li><a href="/en-US/docs/HTML/Using_the_application_cache">使用应用缓存</a></li>
</ul>