3. Service Workers
Learning Objectives
By the end of the chapter, you will be able to:
- Add a service worker to the application
- Configure the service worker cache
- Test and debug the service worker
This chapter teaches us how to make our app into an Angular PWA and configure and test service workers for our app.
Introduction
In this chapter, we will add a service worker to the application that we built in the previous chapters.
We will add the Angular service worker module to our application and configure it to convert the app into a Progressive Web App.
What is a Service Worker?
A service worker is a script that the browser runs in the background that acts as a network proxy to manage network requests programmatically. It sits between ...
Get Server-Side Enterprise Development with Angular now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.