Many friends who use low-end/shanzhai SSDS use ramdisk to protect their hard disks. Generally, the temp directory of the system and the Temporary Folder directory of the IE browser are set to the ramdisk partition.
Recently, Google Chrome browser found that the hard drive lights often flash when browsing the Web page, only to find that the temporary folder of Chrome browser is on the system disk, so a large number of temporary files are generated for reading and writing on the Internet.
Like IE, chrome can also modify the location of a Temporary Folder, but it does not provide relevant settings. It can only be implemented by adding startup parameters. The details are as follows:
Right-click "property" in the shortcut path of the desktop Google browser and add-disk-Cache-Dir = "V: /Temp "-disk-Cache-size = 104857600, and then confirm to save, restart chrome to take effect.
Here:-disk-Cache-Dir specifies the location of the Temporary Folder. You can modify it according to your ramdisk drive letter. My files are V:/temp.
-Disk-Cache-size specifies the space used by the Temporary Folder. Select the size based on the partition size, in bytes. 100 m = 1024*1024*100 = 104857600
NOTE: If no error is reported when Chrome is restarted, the setting is successful. If you cannot find an error such as disk-Cache-Dir, check whether the character is written incorrectly or the virtual partition drive letter.
The goal of my complete shortcut path is:
"C:/Documents and Settings/Administrator/Local Settings/Application Data/Google/Chrome/application/chrome.exe"-disk-Cache-Dir = "V: /Temp "-disk-Cache-size = 104857600