chrome的缓存位置和改变缓存位置 by Sjolzy

[ 2014-01-03 18:08:28 | 作者: Admin ] 字号: | |
可以通过 --User-data-dir=R:\TEMP 改变用户文件位置(包括缓存)

但这样历史主题收藏都一同改变了

只改变缓存的位置如下:

快捷方式参数:"D:\Program Files\sunchrome\chrome .exe" --disk-cache-dir=R:\TEMP



2011-2-14更新:

这种方法只有在点击这个修改过参数的图标时候有效,更彻底的一种改法是,

定位到下面的注册表键:

HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command

在这里你可以看到一个指向 Chrome 运行路径的名为(Default)的键值,双击它

"C:\Users\[username]\AppData\Local\Google\Chrome\Application\chrome.exe" --disk-cache-dir="d:\cache" --disk-cache-size=104857600 -- "%1"

// 解释:设置缓存路径到d:\cache 最大缓存大小100M。

sunchrome+ramdisk=速度飞快!



========================英文好的话也可以看看这个==================

--disk-cache-dir
// Use a specific disk cache location, rather than one derived from the UserDatadir.

--disk-cache-size
// Forces the maximum disk space to be used by the disk cache, in bytes.

--media-cache-size
// Forces the maximum disk space to be used by the media cache, in bytes.
Share
评论Feed 评论Feed: http://www.85815.com/feed.asp?q=comment&id=1331
UTF-8 Encoding 引用链接: http://www.85815.com/trackback.asp?id=1331&key=
这篇日志没有评论.
发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:   注册?
验证码 * 请输入验证码