I was wondering if moving the cache folder in chrome(Win7x64) to a ramdisk drive will improve the performance of cached flash player files/games? If so, What would be the easiest way to do this? I'm assuming that I will have to move the folder, and then change the directory in chrome to point to the new folder location. I already created the Ram drive, and moved the Chrome Temp files to it successfully, but the flash files are not located in the chrome temp directory. Any thoughts would be helpful, thanks.
Testing is probably the best way to see if there is an improvement. To do that, run Chrome with the
--disk-cache-dir option specified at the command line with a subdirectory of your choosing that is on the ramdisk. Something like:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-dir=r:\chrome_cache (assuming
r: is your ramdisk)
Then try one or more of your games. If that does improve speed (I'm not sure it will), you can try using that profile just for your games, or you can redirect the cache folder of your current profile to the ramdisk. To do the redirect:
- Shut down Chrome
- Confirm no copies of chrome.exe are running in the background (Chrome does that by default)
- Move your cache folder (usually
%appdata%\..\Local\Google\Chrome\User Data\Default\Cache) to somewhere on your ramdisk (or just delete it, since caches should be recreated)
- from an administrator command prompt, run
mklink /D old_cache_folder_location new_cache_folder_location(for instance,
mklink /D %localappdata%\Google\Chrome\User Data\Default\Cache r:\chrome_cache)
Chrome should follow the symbolic link to the new folder. Note you can use
--user-data-dir instead if you want to move more than just your cache.