Service Workers: Offline Now(ish)!
Time: 11:40am - 12:30pm | Room: Grand A
HTML Service Workers present new opportunities -- and challenges -- for mobile and offline application development on the web by offering the equivalent of a programmable client-side proxy for network traffic from your application.
This talk by the editor of the Service Worker spec explores:
The install process and the First Load Problem (TM)
The programmable cache model
Matching cache entries to Requests
Request-by-request network control
What requests get set to which SW? What about iframes?
Cross-origin vs. Same-origin opportunities
What can be cached, where, how much, and for how long
Composing SW-based apps with importScripts() and event handlers
The Offline-First application model
How apps differ from pages
Thinking about shell vs. content; what's in a URL?
The application upgrade process
wait-for-restart vs. immediate takeover
upgrade gotchas, version skew, and schema migrations