-
Notifications
You must be signed in to change notification settings - Fork 392
How to remove or unregister a Service worker? #340
Comments
The manual way of doing this is to:
|
Maybe I was not very clear, sorry for that. I meant removing the service worker completely from the website & unregister it from all visitors browsers. |
I need the same functionality. I'll look into it and if i find anything i'll post another comment here. |
Works for me. Found on this stack overflow question. |
@CallumBrankin's correct. The service worker generated by |
file: ./node_modules/react-scripts/config/webpack.config.js
seviceWorker bring disadvantages outweigh it's benefits, should not use it in most cases unless some actual improvement for it. |
that does not work if you have 2 tabs open, service worker would get unregistered but after refresh old service worker still controls the page, any recommendations for that @jeffposnick ? |
Is there is a way to remove/unregister a service worker created by
sw-precache
?The text was updated successfully, but these errors were encountered: