Apart from the obvious use case of returning cat pictures to every image request, we have found developers mainly use service workers primarily for 2 tasks. Service workers have mostly been associated with offline support for web applications and for push notifications for re-engaging with users .
Read moreIs a service worker a web worker?
Web workers and service workers are two types of workers available to websites . They have some things in common: Both run in a secondary thread, allowing JavaScript code to execute without blocking the main thread and the user interface.
Read moreHow can I check a service worker?
Chrome. Open DevTools in Chrome. Click the Application panel, and then click Service Workers in the navigation bar. If a service worker is installed for the currently open page, you’ll see it listed on this pane.
Read more