Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Service Workers and Local Storage

  • Very recently, the following directories have appeared :

    /config/opera/Service Workers
    /config/opera/Local Storage

    They 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.

  • @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

  • @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.

  • @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.