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

Move Opera disk-cache - Opera 49.0

  • I'm running Opera 49.0
    Version: 49.0.2725.64 (PGO) - Opera is up to date
    Update stream: Stable
    System: Windows 10 64-bit
    Is it possible to move ALL THE CACHE to another drive. My OS is an SSD. I want my cache to be on my HDD.

    I have a right-click desktop menu that I edited in the registry. I use that context menu as my only way to launch Opera.
    I've tried, "C:\Program Files (x86)\Opera\launcher.exe" --disk-cache-dir="I:\linkedFiles\Opera-Cache" to no avail.
    In prior versions of Opera, I was able to move some, but not all, of the cache to my "I" drive. Now - nothing moves.

  • @edwinattaway - This is an update. After using Opera many times since I added the --disk-cache-dir="I:\linkedFiles\Opera-Cache", some of my cache is on my C: SSD and some is on my I: HDD. This is as it was, before. Still, I want ALL the cache off my SSD.

  • @edwinattaway What cache is in what drive? And do you see the cache folder even after have removed it?

  • @leocg - Color me totally confused. Before I posted my original question, I had cleaned the C-SSD cache folder, manually.

    I had made this folder - "I:\linkedFiles\Opera-Cache"

    Then I added the "move cache" to launcher.exe - in the registry edit. I ran Opera, several times, to check my progress. All cache was here - "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache"
    The Media Cache had been cleaned, and it was still empty.

    After using Opera several times, cache was only on the C-SSD. Then, as my update said, I had cache on C-SSD and I-HDD. At first, there was nothing in the Media Cache. I figured I hadn't generated any files for that folder. I used Crap Cleaner to check my cache. It only reported the C-SSD. CC wasn't reporting the I-HDD cache, but I fixed that. I decided to add an "include" to CC - "I:\linkedFiles\Opera-Cache" - include files, subfolders, and the folder itself. At this particular time, the cache was only on the C-SSD.

    Now, after really using Opera for many hours, things are OK? I'm old, retired, and I think my butt has grown to my computer chair. I was going to check my progress, but your questions really put me on a mission.

    Just now, I ran Crap Cleaner - but didn't "clean". I have a plethora of files in "C:\Users\ede\AppData\Roaming" There are in excess of 70 files. Most of these are really small. 0 KB, 1 KB, 44 KB, and up to 264 KB. I have 2 GPU files that are both 4, 104 KB. I have triple monitors and 2 nVidia video cards - and I'm not a gamer. I feel these roaming files are not what I'm concerned with.

    I had used Crap Cleaner to clean all the cache on C-SSD before using Opera, again.

    Now, for the confusion.
    Crap Cleaner doesn't show any cache in "Local".
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache" - empty
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Media Cache" - empty
    "I:\linkedFiles\Opera-Cache\Cache" - empty
    "I:\linkedFiles\Opera-Cache\Media Cache" - empty
    But wait. There is a new "parent" folder - "I:\linkedFiles\Opera-Cache\Opera Stable" with Cache and Media Cache subfolders. If memory serves, these were the folders where my I-HDD cache showed up when the cache was "split" between the C-SSD and I-HDD.

    Now, CC reports
    Advanced - Custom Files and Folders - 371,652 KB - 1,304 Files
    "I:\linkedFiles\Opera-Cache\Opera Stable" - the two folders are reporting.

    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache" - 349 MB, 1,289 Files, 0 Folders
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_0" - 296 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_1" - 4,872 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_2" - 7,176 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_3" - 57,352 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000771" - 78 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000772" - 72 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000773" - 17 KB
    ending with
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000001" - 25 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000002" - 17 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000003" - 66 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_000004" - 29 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\index" - 513 KB

    Most of these files are < 1,000 KB
    There are 59 between 1,588 KB and 1,977 KB.

    "I:\linkedFiles\Opera-Cache\Opera Stable\Media Cache" - 12.9 MB, 15 Files, 0 Folders
    data_0 to data_3 - 44 KB to 4,104 KB
    index - 513 KB
    f_000001 to f_00000a - 19 KB to 1,024 KB

    I know these folders will "grow" over time, but that's a lot of files and potentially a huge amount of disk space that is not being written to my C-SSD.

    I welcome your input, and I'll run CC daily to look but not delete until I'm ready to back-up - twice a month. If anything changes - AGAIN - I'll post here. I feel I need to check for a week before calling this "color me confused but happy".

    Thank you for your time.

  • @edwinattaway They're back! Darn, it.
    12/24/2017 8:02 AM
    Roaming, first, just to be thorough.
    "C:\Users\ede\AppData\Roaming\Opera Software\Opera Stable" - 137 MB, 1,626 Files, 205 Folders
    Lots of stuff, but small, in the grand scheme of things.
    Again, this is not a problem as to the space and amount of writing to my C-SSD.

    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable" - 30.4 MB, 148 Files, 2 Folders
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache" - 30.4 MB, 148 Files, 0 Folders
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Media Cache" - empty
    Back to Local Cache
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\data_0" - 44 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\data_1" - 520 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\data_2" - 1,032 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\data_3" - 8,200 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_00000a" - 43 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_00000b" - 62 KB
    ending with
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_000087" - 1,079 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_000088" - 156 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_000089" - 307 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\f_000090" - 301 KB
    "C:\Users\ede\AppData\Local\Opera Software\Opera Stable\Cache\index" - 257 KB
    Except for the ones listed, all are between 575 KB and 17 KB

    CC reported
    Advanced - Custom Files and Folders - 601,177 KB - 1,422 Files
    Windows Explorer "properties" reports
    "I:\linkedFiles\Opera-Cache" - 589 MB, 1,422 Files, 5 Folders
    "I:\linkedFiles\Opera-Cache\Cache" - empty
    "I:\linkedFiles\Opera-Cache\Media Cache" - empty
    "I:\linkedFiles\Opera-Cache\Opera Stable" - 587 MB, 1,422 Files, 2 Folders
    Again, I'm including all the information to be thorough. I think I understand these empty folders.

    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache" - 369 MB, 1,217 Files, 0 Folders
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_0" - 368 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_1" - 6,152 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_2" - 7,176 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\data_3" - 65,544 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_00000a" - 73 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_00000b" - 152 KB
    ending with
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_001996" - 567 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_001997" - 582 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_001998" - 687 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\f_001999" - 464 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Cache\index" - 513 KB
    There are 1,217 files between 1,000 KB and 2,000 KB
    There are 3 with these numbers: 5,125 KB, 2,227 KB, and 2,061 KB
    The files and sizes I have previously listed are not included in this summary.

    "I:\linkedFiles\Opera-Cache\Opera Stable\Media Cache" - 217 MB, 205 Files, 0 Folders
    data_0 to data_3 - 44 KB to 4,104 KB - the same as before
    index - 513 KB - the same as before
    "I:\linkedFiles\Opera-Cache\Opera Stable\Media Cache\f_0000bf" - 20,997 KB
    "I:\linkedFiles\Opera-Cache\Opera Stable\Media Cache\f_0000c9" - 8,662 KB
    f_00000a to f_000099 - other than the two, listed above, these are mostly 1,024 KB - 172 files
    The rest of them range between 20 KB and 976 KB

    I didn't time stamp my original post and my replies, but they are recorded as to day that I posted and replied.

    I have not cleaned or deleted any files, at this time.

    Thank you for your time and patience.

  • @edwinattaway Files and their sizes are fine.

  • @edwinattaway

    Try with the switch to move the whole profile to see whether works or not.

    Windows 10 (x64) | Anniversary Update
    Opera Stable 路 Beta 路 Developer

    Opera Test profile | Opera Back up LinuxMacWin

  • @leocg - Thank you for your time, but you didn't address my original query. Why can't I move EVERYTHING in the cache to my HDD. While I realize the sizes may be fine - for you - they don't move with the switch. Oh, well. Another day, another reason to wonder why control has to be "your way or the highway". No, I'm not talking about you, proper.

  • @zalex108 - I thought that was what I was doing with this switch --disk-cache-dir="I:\linkedFiles\Opera-Cache". I'm open to another switch - or browser. Thank you for your input and time.

  • @edwinattaway
    Try using the "--user-data-dir=<new profile path>" switch.

  • @edwinattaway I don't know, maybe that switch just doesn't work.
    Regarding the files, I was just pointing that they are normal in a brower's cache.

  • @edwinattaway

    You've used the Cache switch, @davehawley is pointing you to use the Profile switch.

    It will move Profile and cache to a new location, - cache will be inside profile -.

  • @davehawley - OK. That's my next mission. As zalex108 said, that should do the trick. It'll change the shortcut to reflect the change. I'll report back sometime tomorrow. Thanks to all.

  • @zalex108 - Thank you for the confirmation. As I told davehawley, that is today's mission.

  • @leocg - Later today, I'll have more information as to moving my profile and not just my cache. I feel this will move EVERYTHING. I do appreciate your time and patience. With this small snafu, maybe the real "fix" is just a matter of changing a couple of words.

    leocg, I realize you were just being helpful, and you caught a bit of my holiday crazies. I did learn a lot from you. You went beyond what I've experienced in the past. For that, you are to be commended.

    It's always good to have as much information as possible.

    Happy Holidays.


  • Latest update. I saw that Opera was coming out with Opera 50, so I waited until something happened with it. First, I tried to disable the update. I failed. I didn't want the update. It seems like Opera is going the way of Edge and Chrome - "It's going to my way or the highway."

    Yes, I moved my profile. That caused more problems than I wanted. At least I saved my bookmarks and I saved the description of my 3 extensions. That was a minor problem, but a problem, none the less. My profile propagated to my I-HDD, and then came back to my C-SSD. I had two bookmark files - one on each drive. After the NOT WANTED update, I deleted the profile on my I-HDD and changed my shortcut back to --disk-cache-dir="I:\linkedFiles\Opera-Cache". With the update - before I deleted the I-HDD version, I lost my extensions and bookmarks. Again, I restored them. If you save your bookmarks to an HTML file, it's not a big deal. When you import, you'll get a folder with all your bookmarks. I drag and dropped them to my bookmarks bar. Right now, the bulk of my cache is on my I-HDD, but there are some files on my C-SDD. It's not that big, so I'll live with it. At least the 1,200 or so files will not be written to my SSD.

    Some of my passwords were not saved, but I have a password file, so that was a minor inconvenience - but an inconvenience, none the less.

    One thing that I noticed with Opera 50 is that the "add to bookmarks bar" button is gone. I can click the heart and specify to save to bookmarks bar, but that takes several clicks. I know I'm being picky, but it used to be there.

    As much as I like Opera, why isn't the config file available. You know, the one that says, "You can muck up. Are you sure you want to edit this file?" - or something to that effect. I know that 99 and 44/100% of uses need to have ALL decisions made for them - the nanny state at it's best. There are some of us who "think" we know what we're doing and don't mind mucking up, upon occasion. I was only trying to do one simple thing - MOVE ALL THE OPERA CACHE TO ANOTHER DRIVE. Oh, well. We live and we learn.

    I hope everyone's New Year will be a prosperous and VERY HAPPY NEW YEAR,

  • @edwinattaway
    Happy 2018 to you too!
    You say you moved your profile to the HDD, and it then went back to the SSD?
    I don't see why that would have happened, unless you somehow ran Opera without the switch.
    Remember that if Opera is your default browser and you run it by clicking on a link in an e-mail say, it will not have the switch applied and will run with its default settings.

  • @davehawley - There is ZERO way I haven't checked the switch and it's always been redirecting. Now, to add fuel to the fire, I did a back-up after cleaning with CC. That was on the 8th of this month. ALL CACHE is off my SSD. The propagating back of the cache and the profile MOVED ON IT'S OWN, and now, it's behaving as I intended. There seems to be a lot of "I don't see why that would have happened, unless you somehow ran Opera without the switch" and "it's OK as it is". This is a good browser, for most things, it just has a mind of it's own. As to the updates, I've tried, twice, to stop it. I've renamed ALL the executables concerned with auto updates and removed the task from scheduler. Thank you for you input. I'm writing a book on all the "ghosts in the machine". I have detailed records. "I don't see why that would have happened, unless you somehow ran Opera without the switch." - but it did.

  • @davehawley - I missed commenting on your e-mail statement. I NEVER run email from the browser. If a site wants me to contact them with their "browser" thingie, I decline. I've been at this for a long, long, time. As far as Opera goes, I'm more than diligent. I HAVE FOLLOWED ALL the suggestions paying particular attention to the smallest things. I knew about the bookmarks, extensions, and passwords. I mentioned them so as to warn others in case they didn't think of them. Thank you for your time.