Making A Service Worker: A Case Study
Joyce Park stashed this in Code
Stashed in: Web Development
Solid practical introduction to the Service Worker API, which basically lets you set a UX for your stuff when it's offline.
Cool. Today I learned what a Service Worker is:
A service worker is a script that stands between your website and the network, giving you, among other things, the ability to intercept network requests and respond to them in different ways.
This wasn’t such a great experience for users who were offline, and it left web developers with little control over browser caching.