Cache location

  • 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

  • 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"
    
  • When I used that on the shortcut, it says "It's not a valid path"

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

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

  • 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

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.