Firefox用时间长了,资源占用巨多,优化之。以下是一些常用的选项。是来自网络,整理而成。
地址栏输入about:config,进入Firefox的配置列表。
如果对应的首选项名称没有则new一个。
其他选项请参见http://kb.mozillazine.org/About:config_entries
首选项名称 | 类型 | 值 | 说明 |
config.trim_on_minimize | Boolean | true | 当窗口最小化,Windows释放内存,只在Windows中有效。 |
image.animation_mode | String | none/once/normal | 停止动画,把它的值设为none,即没有动画,或者设为once,只动一次。 |
network.http.pipelining | Boolean | true | 启用http1.1管道。 |
network.http.pipelining.maxrequests | Integer | 1-8 | 设置请求的次数,network.http.pipelining=true时有效。Values greater than 8 are assumed to be 8; values less than 1 are assumed to be 1,Default value is 4 。 |
browser.cache.memory.capacity | Integer | 视自己情况 | 设置缓存。视物理内存决定 512M配置14336(KB),1 GB 配置18432(KB),2GB则是24576(KB)4GB 是30720 具体参见http://kb.mozillazine.org/Browser.cache.memory.capacity |
browser.sessionhistory.max_total_viewers | Integer | 0 | 减少页面缓存。Firefox为了加快浏览速度,将对已经看过的页面进行缓存。默认是-1,即没有限制。改为 0 吧。 |
browser. history_expire_days | Integer | 视自己情况 | Firefox3默认是180天,改小一点吧,5应该Ok了。 |
browser.history_expire_sites | Integer | 视自己情况 | 保存在历史记录里的最大网站数。默认是40000 |
另外,卸载或禁用Firefox的扩展,能更有效提高Firefox速度。