I’ve been excited for some time about the idea of designing offline-friendly experiences. Finally took some very modest steps at making this little site work offline, so I thought I’d write up what I’ve done so far.
(By “my” service worker, I mean I’ve lightly modified Filament Group’s service worker, which was itself a lightly-modified version of Jeremy Keith’s service worker. I quite like how Jeremy’s set up his script, which he’s written about in great detail: the event-driven layout makes a lot of sense to me, and I like how HTML requests check for a network connection before referencing the cache.)
This is all very preliminary, mind. But it feels good to have gotten started on making my site work offline. I’m still learning the contours of what I can do here—but thanks to a metric ton of resources, and the work of some good friends, I feel like I’m slowly getting my feet under me.
I’m currently available for hire. Here’s some of the work I’ve done. If you’d like to talk to me about your upcoming project, feel free to get in touch.