1

enter image description here

When performing the following processes, the service worker will be in the activated and is stopped state:

  1. Register the service worker
  2. When visit the page, browser will have successfully installed and activated the service worker.
  3. I remove the service worker file from my server
  4. Close any browser tabs that are associated with the website.
  5. When I return to the website and view the Application tab in the developer tool, I can see that my service worker is in the activated and is stopped state.
  6. Put back my service worker file to my server
  7. Close any browser tabs that are related to the website.
  8. Return to the website; it is still in the activated and is stopped state.

How can the activated and is stopped service worker be instructed to continue?

Joseph
  • 3,974
  • 7
  • 34
  • 67

1 Answers1

-1

Depending on various circumstances, it may be reactivated.

Amy Lee
  • 170
  • 2