Sunday, March 16, 2014

How to change the disk cache location of Chrome

The default location of cache folder for Chrome is User Data\Default\Cache,
where User Data is your profile folder of Chrome,
the location of User Data for Windows XP and Windows 8 respectively:

%homepath%\Local Settings\Application Data\Google\Chrome\User Data
%localappdata%\Google\Chrome\User Data

In other words, User Data and cache are put together, change the location of cache to separate cache from User Data, so that you can backup your User Data i.e. profile easily.

Customize the location of cache
Add --disk-cache-dir="the location of Cache folder" to the suffix of chrome.exe, for example:

chrome --disk-cache-dir="R:\TEMP"

thus Cache folder will be automatically created in R:\TEMP to store caches of Chrome.

No comments:

Post a Comment