Firefox的启动速度及浏览网页速度优化方法收集整理 (以下为Windows为例 Linux可以参照) :
1. 主页设定:about:blank
2. 取消启动时候:检查是否为默认浏览器
3. 在启动ff的快捷方式里面加入启动参数: /Prefetch:1,比如: “C:/Program Files/Mozilla Firefox/firefox.exe” /Prefetch:1
4. 另外在你的 FF 快捷方式后面加上 -turbo (FF的启动速度 也会加快),如 "C:/Program Files/Mozilla Firefox/firefox.exe" -turbo
5. 扩展:使用常用的,把不常用的删除,以及对于产生内存泄漏的扩展尽量不用,或者少用 (一般4-5个,如果电脑内存很大可以多用增强FF功能)
6. 取消:FireFox自动更新功能,包括FireFox扩展的自动更新 (建议定期手动更新)
7. 关于FireFox的Theme(主题),尽量不要使用体积很大的Skin (体积越大 加载越慢)
8. 定期清理网页缓存,Cookies,等等...
9. 使用FireFox参数设定: ( 适用于FireFox 1.0+ 以上版本,版本不同可能有所差异 )
在浏览器地址栏中输入“about:config”进入设置页面(注意:对于以下参数设置,有则修改之、无则新建之)
9.1 加快启动速度
- 通用设定:这裡的选项与您的电脑运算速度及网路速度无关,是每台电脑都可使用的设定.其他的选项请依您的电脑与网路
"content.notify.backoffcount", 5 "network.http.pipelining", true "network.http.proxy.pipelining", true "plugin.expose_full_path", true "ui.submenuDelay", 0 |
- 宽频/高速电脑使用者设定:这些设定适用60MB以上的记忆体,以及较快的宽频网路((A)DSL/Cable/fiber ).
"browser.cache.memory.capacity", 65536 "content.interrupt.parsing", true "content.max.tokenizing.time", 2250000 "content.notify.interval", 750000 "content.notify.ontimer", true "content.switch.threshold", 750000 "network.http.max-connections", 48 "network.http.max-connections-per-server", 16 "network.http.max-persistent-connections-per-proxy", 16 "network.http.max-persistent-connections-per-server", 8 "nglayout.initialpaint.delay", 0 |
- 中等网速/高速电脑使用者设定:这些设定适用较慢的宽频网路((A)DSL/Cable).
"browser.cache.memory.capacity", 65536 "content.max.tokenizing.time", 2250000 "content.notify.interval", 750000 "content.notify.ontimer", true "content.switch.threshold", 750000 "network.http.max-connections", 48 "network.http.max-connections-per-server", 16 "network.http.max-persistent-connections-per-proxy", 16 "network.http.max-persistent-connections-per-server", 8 "nglayout.initialpaint.delay", 0 |
- 窄频/高速电脑:56K/V9.0拨接网路适用
"browser.cache.memory.capacity", 65536 "browser.xul.error_pages.enabled", true "content.interrupt.parsing", true "content.max.tokenizing.time", 3000000 "content.maxtextrun", 8191 "content.notify.interval", 750000 "content.notify.ontimer", true "content.switch.threshold", 750000 "network.http.max-connections", 32 "network.http.max-connections-per-server", 8 "network.http.max-persistent-connections-per-proxy", 8 "network.http.max-persistent-connections-per-server", 4 "nglayout.initialpaint.delay", 0 |
- 宽频/慢速电脑:这裡的最后一项设定取消状态列的功能,以节省电脑的运算.
"content.max.tokenizing.time", 3000000 "content.notify.backoffcount", 5 "content.notify.interval", 1000000 "content.notify.ontimer", true "content.switch.threshold", 1000000 "content.maxtextrun", 4095 "network.http.max-connections", 48 "network.http.max-connections-per-server", 16 "network.http.max-persistent-connections-per-proxy", 16 "network.http.max-persistent-connections-per-server", 8 "nglayout.initialpaint.delay", 1000 "dom.disable_window_status_change", true |
- 窄频/慢速电脑
"content.max.tokenizing.time", 2250000 "content.notify.interval", 750000 "content.notify.ontimer", true "content.switch.threshold", 750000 "network.http.max-connections", 32 "network.http.max-connections-per-server", 8 "network.http.max-persistent-connections-per-proxy", 8 "network.http.max-persistent-connections-per-server", 4 "nglayout.initialpaint.delay", 750 "dom.disable_window_status_change", true |
9.2 加快你 FireFox 网页浏览的速度
"browser.turbo.enabled", true "network.http.pipelining.firstrequest", true "network.http.pipelining.maxrequests", 32 "nglayout.initialpaint.delay", 0 "network.dns.disableIPv6", true "config.trim_on_minimize", true "browser.sessionhistory.max_total_viewers", 10 |
9.3 其他建议参数设定
"browser.display.show_image_placeholders", true "browser.chrome.favicons", fales "browser.urlbar.autocomplete.enabled", true "browser.urlbar.autoFill", true |
9.4 减少Firefox的内存占用量
"browser.cache.memory.capacity", 16000 |