Chapter 5. Offline
It’s common for people to look at the offline feature of progressive web apps and think that it doesn’t apply to their website. Sure, it might be nice if people could access our content offline, but it isn’t necessary.
Yes, service workers are fundamentally about caching assets, and yes, that makes them available even if someone is offline. But “being offline” is one of the least common scenarios. It is far more likely that someone will be accessing your website on an unreliable or slow network connection. Even if someone has a fast connection one moment, there is no guarantee they will continue to have one the next.