hub.eb?material_id=478&track_id=475

Managing Service Workers


The Application tab in Chrome’s Developer Tools contains a section to inspect and manage Service Workers associated with a PWA. Options available in this section include:

  • Offline simulates running the PWA whilst disconnected from the internet, used for testing and debugging offline behaviour.
  • Update on reload fetches and installs the latest Service Worker each time the page is refreshed.
  • Bypass for network ignores any active Service Worker and fetches resources from the network. When you are working on client-side JavaScript or CSS this ensures you are using the latest version.

The Service Worker section also provides an option to unregister the Service Worker and activating waiting Service Workers.

Current Module

Related