Service Workers and Local Storage
-
operaacct last edited by
Very recently, the following directories have appeared :
/config/opera/Service Workers
/config/opera/Local StorageThey are taking up a lot of disk space.
What is the best way to get rid of this storage ?
How can I unregister the Service Workers ?
How can I delete/clear the Service Worker Cache ?
How can I delete/clear the Local Storage Cache ?
Thank you.
-
leocg Moderator Volunteer last edited by
@operaacct Those directories have been there for years.
You can delete them like you do with any directory or file in your computer but the directory will be recreated and start being populated as soon as needed.
opera://serviceworker-internals/ should show you the service workers running
-
operaacct last edited by
@leocg I understand that Service workers can be unregistered. Will they be automatically reregistered when the relevant website is revisited ?
Also can the Service Worker and Local Storage Caches be deleted through use of Developer tools ?
If so, how is this best achieved ?
Thanks.
-
leocg Moderator Volunteer last edited by
@operaacct said:
Will they be automatically reregistered when the relevant website is revisited ?
Don't know, probably yes. You will have to test it.
Also can the Service Worker and Local Storage Caches be deleted through use of Developer tools ?
Local storage, yes. Service workers, don't know.
-
cratte last edited by
Addons like Lastpass und pages like Googlemail use their dedicated worker, web worker, service worker as local Data safes in the Opera background.
They use sometimes a lot of RAM, HD space, CPU.
I block them all and allow them if a site does not run without it.
These workers can be disabled at several places.Here are my workarounds against the Service Worker "Overload":
- C:\Users\Your Profilename\AppData\Roaming\Opera Software\Opera Stable\Service Worker
- opera:serviceworker-internals
- Opera developer tools
- Addon uMatrix:
- opera://flags
Read here for more:
The Service Worker, Webworker-Case : Where too much RAM+CPU+HD+Internet-Traffic usage could be caused by.
https://forums.opera.com/post/199274Try it and reply what happened
-
burnout426 Volunteer last edited by
Goto the URL
opera://settings/siteData
. If it a site is using cache storage, database storage, local storage, and service workers, it'll tell you, and you can clear all of them for the site. -