{"json_modified": "2016-05-29T16:49:15.203994", "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"], "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-05-25T13:26:20", "review_tags": []}, {"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": ["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"]}, {"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": "b155f3e5-5a6f-4ac0-8937-3fa2665cc6b8", "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-03-18T22:12:34", "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"]}], "modified": "2016-05-29T16:49:14", "label": "Menggunakan Service Workers", "localization_tags": ["inprogress"], "locale": "id", "id": 184234, "last_edit": "2016-05-29T16:49:08", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Premis_Service_Workers", "title": "Premis\u00a0Service Workers"}, {"id": "Persiapan_bermain_dengan_service_worker", "title": "Persiapan bermain dengan service worker"}, {"id": "Arsitektur_dasar", "title": "Arsitektur dasar"}, {"id": "Promis", "title": "Promis"}, {"id": "sync", "title": "sync"}, {"id": "async", "title": "async"}, {"id": "Demo_service_workers", "title": "Demo service workers"}, {"id": "Enter_Service_workers", "title": "Enter Service workers"}, {"id": "Mendaftarkan_worker", "title": "Mendaftarkan\u00a0worker"}, {"id": "Kenapa_service_worker_saya_gagal_didaftarkan", "title": "Kenapa\u00a0service worker saya gagal didaftarkan?"}, {"id": "Install_dan_activasi_mengumpulkan_cache", "title": "Install dan\u00a0activasi: mengumpulkan\u00a0cache"}, {"id": "Custom_responses_to_requests", "title": "Custom responses to requests"}, {"id": "Recovering_failed_requests", "title": "Recovering failed requests"}, {"id": "Updated_code_pattern_suggestion", "title": "Updated code pattern suggestion"}, {"id": "Membaharui_service_worker", "title": null}, {"id": "Deleting_old_caches", "title": "Deleting old caches"}, {"id": "Dev_tools", "title": "Dev tools"}, {"id": "Spesifikasi", "title": "Spesifikasi"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Lihat_juga", "title": "Lihat juga"}], "slug": "Web/API/Service_Worker_API/Using_Service_Workers", "review_tags": []}