Going Offfline


  • We often talk gleefully about the open and ubiquitous nature of the web, but it has an Achilles’ heel: network con-nectivity. If your career is spent working on the web, chances are you might rarely encounter networking issues in your day-to-day life. When it comes to networks, many of us are spoiled with sweet, sweet speed and incredible reliability. We take it for granted that everyone in the world experiences the web like we do.
  • With an uncertain network connection, the web can be elu-sive. Broken page layouts. Missing functionality. Lost images. Dinosaurs. Broken hearts. Frustration.
  • With no network at all, the web ceases to exist. Over the years, scores of people far smarter than I have looked for ways to help the web overcome its complete depen-dence on the network. Browser caching, Application Cache, Local (and Session) Storage, and client-side databases have all helped to some degree (well, maybe not AppCache) but these technologies have been somewhat limited in both scope and capability.

What you will learn:

  • Getting start with service worker.
  • Add service worker to your website.
  • How to put service worker to work for your project.
  • Make the fetch happen.
  • Refining your service worker.

Who should read this book:

Web developer who want to learn service worker and add it to their webite.