How to clear a Service Worker cache in Firefox?

Supersharp picture Supersharp · Jan 13, 2017 · Viewed 16.3k times · Source

In Chrome it is possible to clear the Service Worker cache from the Dev Tools.

How can we achieve that in Firefox?

I've tried so far:

  • to unregister the service in about:serviceworkers
  • to empty the cache under about:preferences#privacy
  • to reload the page with Ctrl + F5

but it's still there...

Answer

coder3101 picture coder3101 · Aug 28, 2018

Type this in the address bar of Firefox and deregister the service workers you want.

about:debugging#workers

EDIT: In newer versions #worker anchor does not works. You will have to scroll down to Service Workers section.