Network Connectivity: Optional
Stay organized with collections
Save and categorize content based on your preferences.
We learnt many things from this talk: Jake doesn’t wear shoes when presenting; Business Kinlan has a new book coming out soon; Offline is being taken seriously by browser vendors and you will soon have the tools in your hands that help you build great experiences that work well when you are offline.
ServiceWorker will give us the flexibility that we need to build compelling offline first experiences with ease and not suffer the pains inflicted by AppCache. You can even experiment with the API using a Polyfill.
Slides: Network connectivity: optional
ServiceWorker to the rescue
- In the next generation of progressive enhancement, we treat the network as a potential enhancement
- ServiceWorker gives you full, scriptable, debuggable control over network requests
- If you have an offline experience, don’t wait for the network to fail before you show it, as this can take ages
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eJake's talk focused on the future of web development where offline functionality is a primary consideration, not an afterthought.\u003c/p\u003e\n"],["\u003cp\u003eServiceWorker, a new API, offers developers greater control over network requests, enabling robust offline experiences that are easily built and debugged.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should proactively design for offline scenarios, presenting offline content immediately instead of waiting for network failure detection which can cause delays.\u003c/p\u003e\n"],["\u003cp\u003eBrowsers are actively prioritizing offline capabilities, providing tools and APIs like ServiceWorker for seamless offline web experiences.\u003c/p\u003e\n"]]],["The key takeaways are about the ServiceWorker tool, which allows for building offline-first web experiences. ServiceWorker gives full control over network requests, making the network an enhancement rather than a necessity. Browser vendors are prioritizing offline capabilities, and tools will soon be available to create these experiences. An upcoming book, likely related to this topic, is being published by Business Kinlan. ServiceWorker is a superior alternative to AppCache.\n"],null,["# Network Connectivity: Optional\n\nWe learnt many things from this talk: Jake doesn't wear shoes when presenting; [Business Kinlan](https://twitter.com/Business_Kinlan/status/403231878246715392) has a new book coming out soon; Offline is being taken seriously by browser vendors and you will soon have the tools in your hands that help you build great experiences that work well when you are offline.\n\n[ServiceWorker](https://github.com/slightlyoff/ServiceWorker) will give us the flexibility that we need to build compelling offline first experiences with ease and not suffer the pains inflicted by AppCache. You can even [experiment with the API using a Polyfill](https://github.com/phuu/serviceworker-demo).\n\n[Slides: Network connectivity: optional](https://speakerdeck.com/jaffathecake/network-optional)\n\nServiceWorker to the rescue\n---------------------------\n\n- In the next generation of progressive enhancement, we treat the network as a potential enhancement\n- ServiceWorker gives you full, scriptable, debuggable control over network requests\n- If you have an offline experience, don't wait for the network to fail before you show it, as this can take ages"]]