原文地址: 作者:一心月
火狐的配置、书签都在C:\Documents and Settings\Administrator\Application Data\MozillaFirefox\Profiles之下,某些情况下很不方便,不知道能改不,这个之后再说!因此养成了保存书签的习惯。
每回改cache都要上网查,干脆转载到自己的博客上算了!
修改Disk cache device:
1、打开Firefox浏览器
2、在地址栏输入 about:config
3、查找 browser.cache.disk.parent_directory
4、如果没有找到 browser.cache.disk.parent_directory , 则通过右键新建这个“字符串”
5、修改到你需要存放的位置,例如d:firefoxtemp
同样,修改Offline cache device:
about:config 里新建字符串 browser.cache.offline.parent_directory ,值为你想要改到的目录,例如d:firefoxtemp。
6、重新启动 Firefox 程序
7、在地址栏输入 about:cache ,可以发现Cache位 置已经成功修改
Disk cache device
Number of entries: 0
Maximum storage size: 150000 KiB
Storage in use: 0 KiB
Cache Directory: d:firefoxtempCache
List Cache Entries
Offline cache device
Number of entries: 0
Maximum storage size: 512000 KiB
Storage in use: 0 KiB
Cache Directory: d:firefoxtempOfflineCache
List Cache Entries
如果以上2个字 符串的值改为空(用“重置”也可以),则又改回到默认的目录:
Disk cache device
Number of entries: 0
Maximum storage size: 150000 KiB
Storage in use: 0 KiB
Cache Directory: C:Documents and Settings用户名Local SettingsApplication DataMozillaFirefoxProfiles678gdjvc.defaultCache
List Cache Entries
Offline cache device
Number of entries: 0
Maximum storage size: 512000 KiB
Storage in use: 0 KiB
Cache Directory: C:Documents and Settings用户名Local SettingsApplication DataMozillaFirefoxProfiles678gdjvc.defaultOfflineCache
List Cache Entries
[678gdjvc为随机数]
另外:关于 Memory cache device 的默认值(如果要重新设定也应该使用下面的值):
Firefox Version 2 or 3
Physical RAM --- Memory Cache (in KB)
32 MB ------- 2048
64 MB ------- 4096
128 MB ------ 6144
256 MB ------ 10240
512 MB ------ 14336
1 GB -------- 18432
2 GB -------- 24576
4 GB -------- 30720
8 GB and up --- 32768
Older Versions of Firefox ( In Firefox 1.5 and SeaMonkey 1.0 and earlier versions)
RAM --- Memory Cache (in KB)
32 MB ---- 2048
64 MB ---- 4096
128 MB --- 8192
256 MB --- 14336
512 MB --- 22528
1 GB ----- 32768
2 GB ----- 45056
4 GB ----- 59392
8 GB ----- 75776