blob: 1366a2ac23e5d7c2421cd9f636f0ff41ee7896c3 (
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
|
---
title: Window.applicationCache
slug: Web/API/Window/applicationCache
translation_of: Web/API/Window/applicationCache
---
> **Attention :** 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 [service workers](/en-US/docs/Web/API/Service_Worker_API) à la place.
{{APIRef}}
Retourne une référence à l'objet du cache d'application pour la fenêtre.
## Syntaxe
cache = window.applicationCache
### Paramètres
- `cache` est une référence objet pour un {{domxref("OfflineResourceList")}}.
## Spécification
- {{spec("http://www.w3.org/TR/2008/WD-html5-20080122/#appcache","HTML 5","WD")}}
## Voir aussi
- [Using Application Cache](/en-US/docs/HTML/Using_the_application_cache)
|