2.3 Cache Content on Service Worker Install
Now that we have our service worker registered, we’re ready to start coding it up. We’ll begin by listening for the
install event and using it to push a custom offline page into the cache for later retrieval. We’ll also see how you can verify what has been added to the cache at this stage.