© Majid Hajian 2019
M. HajianProgressive Web Apps with Angularhttps://doi.org/10.1007/978-1-4842-4448-7_14

14. Advanced Workbox

Majid Hajian1 
(1)
Oslo, Norway
 

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 ...

Get Progressive Web Apps with Angular: Create Responsive, Fast and Reliable PWAs Using 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.