Boldly take your website where it’s never gone before: offline. Jeremy Keith introduces you to service workers (and the code behind them) to show you the latest strategies in offline pages. Learn the ins and outs of fetching and caching, enhance your website’s performance, and create an ideal offline experience for every user, no matter their connection.
Keith is a funny and personable writer and the book is a good dive into the how to of service workers. You’ll definitely have a better understanding of how to approach them when you read this. If you’re not looking to use them, wait til you need to to read this.
Some of the code samples seem long and repetitive and occasionally there’s a long explanation about simple programming features like for loops or objects in the context of much more complex code— felt a little strange ¯\_(ツ)_/¯
I don't think I'm the main audience for this book. He spends a lot of time explaining basic JavaScript ideas, clearly aiming at folks who are more comfortable with HTML and CSS. This ends up leading to a nice, leisurely pace through some of the options and approaches for offline web pages/applications, though I would have liked some more depth (it does end with a robust list of resources to peruse).
Perfect timing as I've been working through my Mobile Web Specialist nanodegree. The author covers all the basics of a PWA, starting with the service worker, using localStorage and Cache APIs, and creating a manifest file. Creating a progressive web app is easier to understand, thanks to Jeremy Keith!