This article was written in 2015. It might or it might not be outdated. And it could be that the layout breaks. If that’s the case please let me know.

I added a browser cache script to this site

I copied this service worker script and added it to my site. This means that when you’re offline you can still visit the pages you visited before — if you use a browser that supports Service Workers. I was really excited when I first tested it. It works! And five clicks later it felt completely normal. It occurred to me that yes sure, this is fantastic, but it shouldn’t be: this should be how the browser cache works. So I’m happy it can be done, but I’m not happy at all that I need to add a script to my site to do it.