Making A Service Worker: A Case Study —

This article explains what a service worker is and how to put together your own by registering, installing, and activating it without any hassle.

Source: www.smashingmagazine.com