{"json_modified": "2016-03-02T11:11:54.034112", "slug": "Web/API/Service_Worker_API/Using_Service_Workers", "tags": [], "locale": "fr", "title": "Utiliser les Service Workers", "translations": [{"title": "Using Service Workers", "url": "/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": ["basics", "Workers", "ServiceWorker", "Service", "Guide", "guide"], "summary": "One overriding problem that web users have suffered with for years is loss of connectivity. The best web app in the world will provide a terrible user experience if you can\u2019t download it. There have been various attempts to create technologies to solve this problem, as our Offline page shows, and some of the issues have been solved. But the overriding problem is that there still isn\u2019t a good overall control mechanism for asset caching and custom network requests.
\n The previous attempt \u2014 AppCache \u2014 seemed to be a good idea because it allowed you to specify assets to cache really easily. However, it made many assumptions about what you were trying to do and then broke horribly when your app didn\u2019t follow those assumptions exactly. Read Jake Archibald's Application Cache is a Douchebag for more details.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-02-29T09:50:23", "review_tags": []}, {"title": "Service Worker\u306e\u5229\u7528\u306b\u3064\u3044\u3066", "url": "/ja/docs/Web/API/ServiceWorker_API/Using_Service_Workers", "tags": ["Guide", "Workers", "ServiceWorker", "Service", "basics"], "summary": "\u30a6\u30a7\u30d6\u30e6\u30fc\u30b6\u30fc\u304c\u9577\u5e74\u82e6\u3057\u3081\u3089\u308c\u3066\u304d\u305f\u4e3b\u8981\u306a\u554f\u984c\u306e\u4e00\u3064\u306f\u3001\u63a5\u7d9a\u3092\u5931\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u69d8\u3005\u306a\u6280\u8853\u306e\u958b\u767a\u304c\u8a66\u307f\u3089\u308c\u3001\u79c1\u305f\u3061\u306e\u30aa\u30d5\u30e9\u30a4\u30f3\u30da\u30fc\u30b8\u304c\u793a\u3059\u3088\u3046\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u554f\u984c\u306f\u89e3\u6c7a\u6e08\u307f\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u30a2\u30bb\u30c3\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5168\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u826f\u3044\u30e1\u30ab\u30cb\u30ba\u30e0\u306f\u307e\u3060\u5b58\u5728\u3057\u307e\u305b\u3093\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-12-12T00:04:29", "review_tags": ["editorial"]}, {"title": "Benutze Service Workers", "url": "/de/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": [], "summary": "One overriding problem that web users have suffered with for years is loss of connectivity. The best web app in the world will provide a terrible user experience if you can\u2019t download it. There have been various attempts to create technologies to solve this problem, as our Offline page shows, and some of the issues have been solved. But the overriding problem is that there still isn\u2019t a good overall control mechanism for asset caching and custom network requests.
\n The previous attempt \u2014 AppCache \u2014 seemed to be a good idea because it allowed you to specify assets to cache really easily. However, it made many assumptions about what you were trying to do and then broke horribly when your app didn\u2019t follow those assumptions exactly. Read Jake Archibald's Application Cache is a Douchebag for more details.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-01-31T07:58:33", "review_tags": []}], "modified": "2016-03-02T11:11:53", "label": "Utiliser les Service Workers", "localization_tags": ["inprogress"], "url": "/fr/docs/Web/API/Service_Worker_API/Using_Service_Workers", "last_edit": "2016-03-02T11:11:48", "summary": "La perte de connexion est un probl\u00e8me majeur auquel sont confront\u00e9s les utilisateurs du web depuis des ann\u00e9es. La meilleure application web au monde produirait un bien mauvais effet si vous ne pouviez pas la t\u00e9l\u00e9charger. Il y a eu de nombreuses tentatives pour mettre en place des technologies susceptibles de r\u00e9soudre ce probl\u00e8me, comme le montre notre page Offline, et certains probl\u00e8mes ont \u00e9t\u00e9 r\u00e9solus. Mais le probl\u00e8me principal reste l'absence d'un m\u00e9canisme de contr\u00f4le global pour la mise en cache des ressources et la personnalisation des requ\u00eates r\u00e9seau.
\n La tentative pr\u00e9c\u00e9dente \u2014 AppCache \u2014 semblait \u00eatre une bonne id\u00e9e parce qu'elle permettait de sp\u00e9cifier les ressources \u00e0 mettre en cache de mani\u00e8re tr\u00e8s simple. Cependant, elle faisait beaucoup de suppositions sur la mani\u00e8re de le mettre en place et \u00e9chouait implacablement si votre application ne se pliait pas exactement \u00e0 ces suppositions. Lisez Application Cache is a Douchebag de Jake Archibald pour plus de d\u00e9tails.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Le_pr\u00e9ambule_aux_Service_Workers", "title": "Le pr\u00e9ambule aux Service Workers"}, {"id": "Pr\u00e9paratifs_aux_Service_Workers", "title": "Pr\u00e9paratifs aux Service Workers"}, {"id": "Architecture_de_base", "title": "Architecture de base"}, {"id": "Promesses", "title": "Promesses"}, {"id": "sync", "title": "sync"}, {"id": "async", "title": "async"}, {"id": "D\u00e9mo_de_service_workers", "title": "D\u00e9mo de service workers"}, {"id": "Introduction_aux_service_workers", "title": "Introduction aux service workers"}, {"id": "Enregistrer_un_worker", "title": "Enregistrer un worker"}, {"id": "Pourquoi_mon_service_worker_\u00e9choue_\u00e0_s'enregistrer", "title": "Pourquoi mon service worker \u00e9choue \u00e0 s'enregistrer ?"}, {"id": "Installer_et_activater_remplir_le_cache", "title": "Installer et activater : remplir le cache"}, {"id": "R\u00e9ponses_personnalis\u00e9es_aux_requ\u00eates", "title": "R\u00e9ponses personnalis\u00e9es aux requ\u00eates"}, {"id": "R\u00e9cup\u00e9rer_des_requ\u00eates_en_erreur", "title": "R\u00e9cup\u00e9rer des requ\u00eates en erreur"}, {"id": "Suggestion_d'am\u00e9lioration_d'un_mod\u00e8le_de_code", "title": "Suggestion d'am\u00e9lioration d'un mod\u00e8le de code"}, {"id": "Mettre_\u00e0_jour_le_service_worker", "title": null}, {"id": "Supprimer_les_anciens_caches", "title": "Supprimer les anciens caches"}, {"id": "Outils_de_d\u00e9veloppement", "title": "Outils de d\u00e9veloppement"}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "id": 173429, "review_tags": []}