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

11. Safety Service Worker

Majid Hajian1 
(1)
Oslo, Norway
 

Service Workers are indeed powerful, and the Angular Service Worker is no exception. They do complex and advanced jobs for building a web application. However, based on my experience building PWAs over the years, things are not always going in a way that we like. It may happen that the Service Worker acts in unforeseen ways, and it may interrupt the user experience or even make our app completely useless and unreachable.

Getting rid of a Service Worker is not as easy as it looks when you have registered a Service Worker in the browser. Knowing how to unregister a service worker from a client ...

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.