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."],[],["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"]]