• 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

    Cache location

    Opera for Windows
    4
    6
    2521
    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.
    • web-devb
      web-devb last edited by

      Is there anyway I can change the location of my cache directory, by default it is on my SSD drive and I don't want to wear this out prematurely

      Reply Quote 0
        1 Reply Last reply
      • l33t4opera
        l33t4opera last edited by

        Hi @web-devb, you can add the "--disk-cache-dir" switch at the end of the shortcut to the "launcher.exe", as follows:

        "path\to\launcher.exe" --disk-cache-dir="X:\path\to\cache\dir"
        
        Reply Quote 0
          1 Reply Last reply
        • web-devb
          web-devb last edited by

          When I used that on the shortcut, it says "It's not a valid path"

          Reply Quote 0
            1 Reply Last reply
          • lando242
            lando242 last edited by

            Well, the first part that says "path\to\launcher.exe" needs to be the path on your local machine. We wouldn't know what that is. Its the second part, --disk-cache-dir="X:\path\to\cache\dir" that you have to add. Also, make sure its in the Target field and not the Start In field.

            Reply Quote 0
              1 Reply Last reply
            • Deleted User
              Deleted User last edited by

              You could also try a program called 'Junction Link Magic', from Rekenwonder, free. It's not quite user-friendly, you'll have to dicker around a bit choosing the source directory before it allows you to create the junction, but it works well once it's done.
              http://www.rekenwonder.com

              For the default location of your Opera cache, check Opera/Help.
              Note that even though the new Opera cache is located on your other drive, if you go to the old cache directory it still shows the cache, even though it's not really there ... it's just a symbolic link which is reading from your new location.

              I should say that I tried creating a junction in the administrator command window using Microsoft's instructions, but only got the message 'not a valid path'. Tried everything, quotes, no quotes etc, but no luck, it just won't work for me.
              Microsoft Sysinternals site also has a junction creator which I haven't tried recently.

              Reply Quote 0
                1 Reply Last reply
              • web-devb
                web-devb last edited by

                OK, got it working with the "--disk-cache-dir="X:\path\to\cache\dir" seemed to have added an extra " to the shortcut, thank you guys/gals

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