Table of Contents for Going Offline

A few people on Twitter have asked about the table of contents for my new book about service workers, Going Offline. Fair enough—why not see the menu before placing your order?

  1. Introducing Service Workers Does what is says on the tin. It also talks about switching to HTTPS. This chapter is online at A List Apart so you can try before you buy.
  2. Preparing for Offline This chapter talks about how you register a service worker, and introduces the concept of promises in JavaScript.
  3. Making Fetch Happen Yes, this chapter title is a Mean Girls reference; fight me. The chapter explains fetch events and shows how a service worker can intercept them.
  4. Cache Me if you Can This puntastic chapter is all about caching, and shows you can use caches in your service worker script.
  5. Service Worker Strategies This is the heart of the book, where you get decide what kind of strategy you want to implement—when to go to the network, when to go a cache, and so on. And as a last resort, you can have a custom offline page.
  6. Refining Your Service Worker Building on the previous chapter, this one looks at how you can use different strategies for different kinds of files—images, pages, etc.
  7. Tidying Up This chapter is about good service worker hygiene like deleting old caches. It also introduces some more coding style options.
  8. The Offline Experience By this chapter, the service worker script is done. But there’s still plenty of room for enhancements on that custom offline page, including the use of offline storage.
  9. Progressive Web Apps The book finishes with an explanation of progressive web apps, and a step-by-step guide to creating your own web app manifest.

Sound good? Pre-order your copy of the book now and you’ll have it in your hands ten days from now.

Have you published a response to this? :


Ian Lloyd

Making Fetch happen. Oh yes. Slow hand clap deserved! 👏👏👏

# Posted by Ian Lloyd on Friday, April 13th, 2018 at 10:19pm

1 Share

# Shared by Frank M. Palinkas on Friday, April 13th, 2018 at 11:51pm


# Liked by Gunnar Bittersmann on Friday, April 13th, 2018 at 8:21pm

# Liked by Joe Mullan on Friday, April 13th, 2018 at 8:46pm

# Liked by Chris Taylor on Friday, April 13th, 2018 at 10:20pm

# Liked by Frank M. Palinkas on Saturday, April 14th, 2018 at 12:17am

# Liked by ant on Saturday, April 14th, 2018 at 8:09am

# Liked by Dominik Schwind on Monday, April 16th, 2018 at 9:46am

# Liked by ⓕⓣ on Tuesday, April 17th, 2018 at 4:13pm

Previously on this day

5 years ago I wrote 100 words 022

Day twenty two.

7 years ago I wrote And be damned

Writing, publishing, sharing, speaking.

9 years ago I wrote Zånhae nights


16 years ago I wrote Turning Japanese

If you happen to be in Brighton and you like Japanese food, be sure to check out the Murasaki cafe/bar on Dyke Road (near Seven Dials).

18 years ago I wrote Celebrity Sighting

I’m sick as a dog right now. I’ve got some kind of cold/flu ailment that involves a raspy throat and copious amounts of phlegm.