Posted On: Mar 13, 2020
Service worker in Angular is used to augment a traditional web deployment to deliver a better user experience. These augmented applications have reliability and performance that is on par with natively-installed code. Adding a service worker to your application is one of the main steps in turning your application to progressive web apps. It also acts as a network proxy to intercept all the outgoing HTTP requests and chooses how to respond to them. In simple terms, a service worker is a script that runs in the browser and manages to cache for web applications.
Never Miss an Articles from us.