A page that works offline

Load this page once online, then switch the network off and reload: the service worker serves the page and every file it needs from the cache.

Service worker
Cache