修改Firefox的缓存位置

原文地址:[转载]修改Firefox的缓存位置 Firefox cache 作者:一心月

火狐的配置、书签都在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

转载于:https://my.oschina.net/innovation/blog/805048

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值