1. Decide what must work offline
Choose the most useful pages, such as guides and a contact page, for offline access.
2. Cache the assets
Use a service worker to store pages, styles and scripts for the chosen pages.
3. Show a helpful message
Display an offline page that explains what is available and when the site will return.
4. Test with the network off
Turn off the connection in developer tools and confirm the cached pages open.