In the previous chapter, I taught you how to use Workbox in an Angular project whether you have used Angular Service Worker and you want to replace it with Workbox, or you simply want to start a new project from scratch.
In this chapter, I will show you how to implement Background sync, push notification, offline analytics, and how to notify a user if there is a new update available.
Dealing with Updates
When responding to a request with cached entries, while being fast, it comes with a trade-off that uses my end up seeing stable data. Workbox provides broadcast update module, which helps to notify ...