aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/applicationcache/index.html
blob: 1999a31f7f6edd3237028304396b39aadb35b0ee (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
---
title: Window.applicationCache
slug: Web/API/Window/applicationCache
translation_of: Web/API/Window/applicationCache
---
<div class="blockIndicator warning">
<p><strong>Important</strong>: Le cache d'application est obsolète depuis Firefox 44, et n'est plus disponible dans un contexte non sécurisé depuis Firefox 60 ({{bug(1354175)}}, actuellemet Nightly/Beta seulement). Ne pas l'utiliser sur des sites hors lignes — envisager l'utilisation de <a href="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">service workers</a> à la place.</p>
</div>

<p>{{APIRef}}</p>

<h2 id="Summary" name="Summary">Sommaire</h2>

<p>Retourne une référence à l'objet du cache d'application pour la fenêtre.</p>

<h2 id="Syntax" name="Syntax">Syntaxe</h2>

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

<h3 id="Parameters" name="Parameters">Paramètres</h3>

<ul>
 <li><code>cache</code> est une référence objet pour un {{domxref("OfflineResourceList")}}.</li>
</ul>

<h2 id="Specification" name="Specification">Spécification</h2>

<ul>
 <li>{{spec("http://www.w3.org/TR/2008/WD-html5-20080122/#appcache","HTML 5","WD")}}</li>
</ul>

<h2 id="Voir_aussi">Voir aussi</h2>

<ul>
 <li><a href="/en-US/docs/HTML/Using_the_application_cache">Using Application Cache</a></li>
</ul>