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

4. Angular Service Worker

Majid Hajian1 
(1)
Oslo, Norway
 

Up to this point, the application that we built has no PWA characteristics. From this chapter on, we are going to gradually add PWA features and dive into them in depth. Angular provides a module called service-worker to handle caching strategies and push notifications out of the box. Angular Service Worker is highly configurable and can satisfy Angular app requirements. However, before we start implementing this module, we should have a basic understanding of Service Worker.

This chapter begins with Service Worker fundamentals and cache APIs as it’s crucial to know what’s going on behind ...

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.