Chrome eases the pain of being offline with its hidden game (press space bar on desktop, tap the dinosaur on mobile). But we can do better. Service workers allow website authors to intercept all network requests to their websites, which means we can provide rich offline experiences, just like native apps. At the Guardian, we recently released a custom offline experience of our own. When users are
![Building an offline page for theguardian.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/5bc46c5f2e1f962d24cc19fcbd2ee9f20beeaab9/height=288;version=1;width=512/https%3A%2F%2Fi.guim.co.uk%2Fimg%2Fmedia%2F3644af9001e6cb1122514564ddcebaa01725c2c6%2F0_0_832_499%2Fmaster%2F832.jpg%3Fwidth%3D1200%26height%3D630%26quality%3D85%26auto%3Dformat%26fit%3Dcrop%26overlay-align%3Dbottom%252Cleft%26overlay-width%3D100p%26overlay-base64%3DL2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctYWdlLTIwMTUucG5n%26enable%3Dupscale%26s%3D94461e1641675ec5a6c708eea6bfa79e)