• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    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

    Opera for Linux
    4
    6
    5367
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • operaacct
      operaacct last edited by

      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.

      Reply Quote 0
        leocg 1 Reply Last reply
      • leocg
        leocg Moderator Volunteer @operaacct 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

        Reply Quote 0
          operaacct 1 Reply Last reply
        • operaacct
          operaacct @leocg 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.

          Reply Quote 0
            leocg 1 Reply Last reply
          • leocg
            leocg Moderator Volunteer @operaacct 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.

            Reply Quote 0
              1 Reply Last reply
            • cratte
              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/199274

              Try it and reply what happened 🙂

              Reply Quote 0
                1 Reply Last reply
              • burnout426
                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.

                Reply Quote 0
                  1 Reply Last reply
                • Locked by  leocg leocg 
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-