Implementing “Save For Offline” with Service Workers

More and more blogs are starting to provide an offline version of their pages through Service Workers (another sign that more people are moving to HTTPs as well). At the moment I think it’s one of the best progressive enhancement things you can offer your users, so the more articles detailing the process the better I say. Thanks for this one Una.

This way, if someone is reading your blog on the subway, and loses their Internet connection, they won’t lose their place. If they accidentally click and the browser refreshes, they won’t lose their place. If they want to save your article to read on an airplane or at at a café in a foreign country where they have no internet plan, they can do that. And if they just want to save battery and be on airplane mode, that’s cool too. ✨Magic.✨

An excerpt from Implementing “Save For Offline” with Service Workers

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.