{"json_modified": "2016-07-03T04:47:57.320945", "uuid": "b155f3e5-5a6f-4ac0-8937-3fa2665cc6b8", "title": "Benutze Service Workers", "url": "/de/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": [], "translations": [{"uuid": "7f0df257-c29e-4f00-ad68-54176ff4b574", "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-06-16T17:54:34", "review_tags": ["technical"]}, {"uuid": "ce3f5173-a10f-4775-bd4d-2d85b8775b4b", "title": "Service Worker\u306e\u5229\u7528\u306b\u3064\u3044\u3066", "url": "/ja/docs/Web/API/ServiceWorker_API/Using_Service_Workers", "tags": ["basics", "Workers", "ServiceWorker", "Service", "Guide", "guide"], "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": "2016-07-01T21:38:06", "review_tags": ["editorial"]}, {"uuid": "85eafbdd-2736-4231-b630-eb4b49234138", "title": "Utiliser les Service Workers", "url": "/fr/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": [], "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.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2016-03-02T11:11:48", "review_tags": []}, {"uuid": "37d9a776-c844-47cd-8087-ec4fbd16a8a1", "title": "\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Service Worker", "url": "/ru/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": ["\u043e\u0441\u043d\u043e\u0432\u044b ServiceWorker Workers \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e"], "summary": "\u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u0430\u0434\u0430\u044e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 - \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043f\u043e\u0442\u0435\u0440\u0438 \u0441\u0432\u044f\u0437\u0438. \u0412\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043e\u043f\u044b\u0442, \u0435\u0441\u043b\u0438 \u0432\u044b\u00a0\u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c, \u0434\u0430\u0436\u0435 \u0431\u0443\u0434\u044c \u043e\u043d\u043e \u0441\u0430\u043c\u044b\u043c \u043b\u0443\u0447\u0448\u0438\u043c \u0432 \u043c\u0438\u0440\u0435 . \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0438 \u0435\u0441\u043b\u0438 \u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c \u043d\u0430\u0448\u0435\u0433\u043e \u0424\u043e\u0440\u0443\u043c\u0430, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u0431\u044b\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u044b. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435 \u043d\u0430\u0438\u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e, \u0447\u0442\u043e \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.
\n \u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u043e\u0439 \u0431\u044b\u043b\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f AppCahe, \u043a\u0430\u0437\u0430\u0432\u0448\u0435\u0439\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0438\u0434\u0435\u0435\u0439, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041e\u0434\u043d\u0430\u043a\u043e, \u044d\u0442\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u0435\u043b\u0430\u043b\u0435\u0442\u00a0\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0437\u0430\u0442\u0435\u043c \u0441 \u0433\u0440\u043e\u0445\u043e\u0442\u043e\u043c \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u0432 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0441 \u044d\u0442\u0438\u043c\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u044d\u0442\u043e\u0439 \u0442\u0435\u043c\u0435, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u0414\u0436\u0435\u0439\u043a\u0430 \u0410\u0440\u0447\u0438\u0431\u0430\u043b\u044c\u0434\u0430\u00a0Application Cache is a Douchebag.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-05-25T13:58:55", "review_tags": ["editorial"]}, {"uuid": "31f0c848-0a9f-4634-8c99-5b7430ef7ccf", "title": "Menggunakan Service Workers", "url": "/id/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": ["ServiceWorker", "Paduan", "dasar"], "summary": "Salah satu masalah utama yang dialami pengguna web selama bertahun - tahun adalah hilangnya konektivitas. Bahkan aplikasi terbaik didunia sekalipun akan memberikan pengalaman pengguna yang buruk jika tidak bisa di muat atau di download. Berbagai upaya menciptakan teknologi telah dilakukan untuk memecahkan masalah tersebut, Agar halaman Offline dapat digunakan, dan beberapa masalah telah diselesaikan.Tapi masalah utamanya masih belum ada mekanisame kontrol yang terbaik untuk semua permintaan aset cache dan kostum jaringan.
\n Pada upaya sebelumnya \u2014 AppCache \u2014 dilihat sebagai ide yang bagus karena disana anda juga bisa menentukan aset untuk dicache dengan mudah. Namun, itu membuat asumsi tentang ketika\u00a0anda mencoba dan kemudian pecah dengan mengerikan ketika aplikasi anda tidak mengikuti asumsi premis. Baca\u00a0artikel\u00a0Jake Archibald's Application Cache is a Douchebag untuk lebih detail.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2016-05-29T16:49:08", "review_tags": []}, {"uuid": "6a867a91-ab72-4be5-b648-adfca311f504", "title": "\u4f7f\u7528 Service Workers", "url": "/zh-CN/docs/Web/API/Service_Worker_API/Using_Service_Workers", "tags": [], "summary": "\u6709\u4e00\u4e2a\u56f0\u6270web\u7528\u6237\u591a\u5e74\u7684\u96be\u9898\uff1a\u7f51\u7edc\u4e0d\u53ef\u8fde\u63a5\uff08\u79bb\u7ebf\uff09\u3002\u5373\u4f7f\u662f\u4e16\u754c\u4e0a\u6700\u597d\u7684web app\uff0c\u5982\u679c\u4f60\u4e0b\u8f7d\u4e0d\u4e86\u5b83\uff0c\u7528\u6237\u4f53\u9a8c\u57fa\u672c\u662f\u6bc1\u4e86\u3002\u5df2\u7ecf\u6709\u5f88\u591a\u79cd\u6280\u672f\u5c1d\u8bd5\uff0c\u6765\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002\u968f\u7740\u79bb\u7ebf\u9875\u9762\u7684\u51fa\u73b0\uff0c\u4e00\u4e9b\u95ee\u9898\u5df2\u7ecf\u5f97\u5230\u4e86\u89e3\u51b3\u3002\u4f46\u662f\uff0c\u6700\u91cd\u8981\u7684\u95ee\u9898\u662f\uff0c\u4ecd\u7136\u6ca1\u6709\u4e00\u4e2a\u597d\u7684\u7edf\u7b79\u673a\u5236\uff0c\u6765\u5bf9\u7f13\u5b58\u548c\u7f51\u7edc\u8bf7\u6c42\u8fdb\u884c\u63a7\u5236\u3002
\n \u4e4b\u524d\u7684\u5c1d\u8bd5\u00a0\u2014\u00a0APPCache \u2014 \u770b\u8d77\u6765\u662f\u4e2a\u4e0d\u9519\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u6307\u5b9a\u9700\u8981\u79bb\u7ebf\u7f13\u5b58\u7684\u8d44\u6e90\u3002\u4f46\u662f\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u5047\u5b9a\u4e86\u4f60\u4f7f\u7528\u65f6\u4f1a\u9075\u5faa\u5f88\u591a\u89c4\u5219\uff0c\u5982\u679c\u4f60\u4e0d\u4e25\u683c\u9075\u5faa\u8fd9\u4e9b\u89c4\u5219\uff0c\u5b83\u4f1a\u628a\u4f60\u7684APP\u641e\u5f97\u4e00\u56e2\u7cdf\u3002\u5173\u4e8eAPPCache\u7684\u66f4\u591a\u8be6\u60c5\uff0c\u8bf7\u770bJake Archibald\u7684\u6587\u7ae0\uff1a\u00a0Application Cache is a Douchebag.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-06-16T20:38:44", "review_tags": []}], "modified": "2016-07-03T04:47:56", "label": "Benutze Service Workers", "localization_tags": ["inprogress"], "locale": "de", "id": 173673, "last_edit": "2016-07-03T04:47:46", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Die_Voraussetzung_vom_Service_Worker", "title": "Die Voraussetzung vom Service Worker"}, {"id": "Setting_up_to_play_with_Service_Workers", "title": "Setting up to play with Service Workers"}, {"id": "Basis_Struktur", "title": "Basis Struktur"}, {"id": "Promises", "title": "Promises"}, {"id": "sync", "title": "sync"}, {"id": "async", "title": "async"}, {"id": "Service_worker_Vorf\u00fchrung", "title": "Service worker Vorf\u00fchrung"}, {"id": "Enter_Service_workers", "title": "Enter Service workers"}, {"id": "Registering_your_worker", "title": "Registering your worker"}, {"id": "Why_is_my_service_worker_failing_to_register", "title": "Why is my service worker failing to register?"}, {"id": "Installation_und_Aktivierung_populating_deines_caches", "title": "Installation und Aktivierung: populating deines caches"}, {"id": "Eigene_responses_to_requests", "title": "Eigene responses to requests"}, {"id": "Recovering_failed_requests", "title": "Recovering failed requests"}, {"id": "Aktualisierter_Code_pattern_suggestion", "title": "Aktualisierter Code pattern suggestion"}, {"id": "Aktualisiere_deinen_service_worker", "title": null}, {"id": "L\u00f6schen_des_alten_Caches", "title": "L\u00f6schen des alten Caches"}, {"id": "Entwicklertools", "title": "Entwicklertools"}, {"id": "Spezifikationen", "title": "Spezifikationen"}, {"id": "Browser_Kompatibilit\u00e4t", "title": "Browser Kompatibilit\u00e4t"}, {"id": "Siehe_auch", "title": "Siehe auch"}], "slug": "Web/API/Service_Worker_API/Using_Service_Workers", "review_tags": []}