You can do this by creating a new hidden preference.
Jul 14, 2015 --disk-cache-dir='d: cache' --disk-cache-size=104857600 This changes the location of the Google Chrome cache to d: cache, and the limit of the cache to 100 Megabytes. I typed all correctly and still does not allow me to change, I don't have Chrome as default browser to use this tweak.
- Type about:config into the location bar and press enter
- Accept the warning message that appears, you will be taken to a list of preferences
- Right-click somewhere in the list and select 'New > String'
- For the name of the preference type browser.cache.disk.parent_directory
- For its value type the path to where you want to store the cache
- Next locate the preference browser.cache.disk.enable, it must be set to true, if it is not, double-click on it to change its value
![Script To Set Chrome To Use Ramdisk For Cache On Mac Script To Set Chrome To Use Ramdisk For Cache On Mac](/uploads/1/2/5/6/125647917/109905025.png)
For more information on this see http://kb.mozillazine.org/Browser.cache.disk.parent_directory (the mozillaZine knowledge base is down at time of posting, but should hopefully be back up soon)