
What this book covers
Chapter 1, Learning Service Worker Basics, covers setting up the service worker in your environment, and how to get up and running using service worker development. This chapter includes registering a service worker and debugging.
Chapter 2, Working with Resource Files, provides several recipes on how to handle resource files with the service worker, including loading CSS and fonts.
Chapter 3, Accessing Offline Content, takes a look at how to cache resources and serve content offline.
Chapter 4, Accessing Offline Content with Advanced Techniques, explores advanced techniques, including templating and Google Analytics, when working with offline content.
Chapter 5, Reaching Beyond the Offline Cache, provides recipes beyond the offline cache and explores topics ranging from getting network responses offline to how to use the service worker as a load balancer.
Chapter 6, Working with Advanced Libraries, talks about Google Analytics, circuit breakers, and dead letter queues.
Chapter 7, Fetching Resources, covers various techniques on fetching resources from different sources.
Chapter 8, Experimenting with Web Push, talks about different ways of implementing push notifications.
Chapter 9, Looking at General Usage, provides various recipes on general usages of the service worker from slow responses to a live flowchart.
Chapter 10, Improving Performance, talks about how to optimize your service worker application to perform efficiently and in a performant manner.