Browser cache relocation for a different profile
Started by Chin
Browser cache relocation for a different profile 04 March 2021, 10:07
Re: Browser cache relocation for a different profile 04 March 2021, 11:08
Registered: 7 years ago
How to relocate Google Chrome cache
The default location of Chrome cache is C:\Users\<UserName>\AppData\Local\Google\Chrome\User Data\Default\Cache , which can be changed by adding a few parameters.
For that, right-click Chrome shortcut you have on your desktop or in the start menu, select Properties, add the following parameters to the string in the Target field, and then click Ok:
--disk-cache-dir="R:\Cache" --disk-cache-size=104857600"R:\Cache" is the browser cache folder on your RAM disk, and may have a different path in your case.
Now you need to set Chrome to use that new cache folder. For this, type regedit in the Run command, click Ok, and navigate to this registry key:
HKEY_CLASSES_ROOT\ChromeHTML\shell\open\commandYou will see the location of chrome.exe in the right pane. Right-click it and select Modify.
Add the following parameters to the string in the Value data filed:
--disk-cache-dir="R:\Cache" --disk-cache-size=104857600The "R:\Cache" path must be identical to the one you specified earlier.
The registry key value should end up looking something like this:
"C:\Users\YourName\AppData\Local\Google\Chrome\Application\chrome.exe" --disk-cache-dir="R:\Cache" --disk-cache-size=104857600 -- "%1"Click OK and close the registry editor.
Restart Chrome for the changes to take effect, and it should now be configured to save its cache to new location.
Re: Browser cache relocation for multiple profiles, with specified size 19 June 2021, 00:59
I have one Windows user with seven Chrome profiles that I use at the same time. Some more heavily than others. I have RAMDisk but I believe that most profiles are not using this location. I want to point all of my Chrome profiles to this location.
Will changing all of my launch shortcuts and registry by adding
move all of my profiles cache location & limit?
Also how can I check to verify that each profile is using this location?
Re: Browser cache relocation for multiple profiles, with specified size 21 June 2021, 12:41
Registered: 15 years ago
Posts: 6 149
I suppose if you pass --disk-cache-dir and --disk-cache-size, it will apply to the newly created process and its child processes. That is, the effect will be per profile, but again, it's best to ask the Google's community.