Description of the issue: How to change default location of cache folder. See additional info below.
How can this issue be reproduced?
Expected result:
Brave Version( check About Brave):
1.2.4.2
Additional Information:
I would like to change the cache folder location to a Ram drive. Tried using mlink with J & D switches but Brave recreates the cache folder in the default location when restarted.
I am new to Brave as of 1/1/2020 transitioning from Chrome. You can change the cache location in Chrome using mlink. I’m assuming it should work on Brave as well since it is built on Chromium.
I hope this is a resolved issue and someone can point me in the right direction or let me know the steps to successfully relocate the cache.
I deleted my cache dir.
Created D:\cache2 folder
Open command line (admin mode) mklink /D "C:\Users\mp3ge\AppData\Local\BraveSoftware\Brave-Browser-Beta\User Data\Default\Cache" "D:\cache2"
When I opened Brave, and browsed a few sites. D:\cache2 was populated with cache files
Hi, this cache is more permanent o it will be temporary?
I need something more permanent, I want to use this browser for a Browser Game and I want to store in cache because I have a bad Internet conection, any tips/help?
If you are creating the new cache on another local drive then yes, it will be permanent.
If you want to store your cache on a ram drive and not lose the contents when you shutdown then you have to use a ram disk utility that will save the contents to an image at shutdown. I use Softperfect Ram Disk but there are others that you can check out like Dataram Ramdisk.
I have to try this metod, thanks!
Because this browser is based in chromium I found that can be work with this command line in the executable direct access:
“C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe” --disk-cache-dir=“C:\Users\User-folder\personal-folder” --disk-cache-size=2000000000
But the cache size command it seems that maybe don’t work like as it is supposed