免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1152 | 回复: 0
打印 上一主题 下一主题

Firefox [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-05 11:52 |只看该作者 |倒序浏览

                firefox优化………
在这里下载http://www.mozcn.org/
我是1.5,不用安装,解包即可使用
下面是找到的一些优化方法,我没有试,如果有效果的话,拜托告诉我,谢谢
[color="#18188c"]Firefox 终极提速
  
  
    为了照顾普通用户的需求,FX出版时在性能上做了大众化的配置。可是我们每个人的机器配置和网络环境是不同的,在这里我们完全可以手动更改
user.js 文件来获取最佳的浏览速度。
快速设置
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("nglayout.initialpaint.delay", 0);
这个设置在很早经前就已经有人放出来了,Pipelining (管道)同时发出成倍数的连接请求,从而达到提升连接速度的效果。我觉得这也是为什么 IE 的速度会比早期的 Mozilla/Netscape 更快的一个重要的原因。
Initial Paint Delay 实际上延迟了整个网页的显示速度,但是因为用户更喜欢在整个网页完全截入之前就开始阅读网页(就像流媒体那样),所以在这里可以把值调低,加速网页的载入。
下面的设置是从Mozillazine 的众多相关主题中总结来的,其中有部分设置是很有争议的。
通用设置
下面的设置看起来是通用的,只是做了两个补充- 插件的路径可以在about:plugins 中找到,关掉了书签菜单延迟。
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("content.notify.backoffcount", 5);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);
高配置,宽带
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("browser.cache.memory.capacity", 65536);
这里有一点需要注意:Firefox 默认分配4096 KB的cache.memory,而在这里设置的最后一行我们粗略的分配给它大概65M,当然这个数值可以根据实际需要做改动。
高配置,网络连接比较慢
以下的设置适用于网络连接不理想的用户,当然还不是说还停留在小猫时代的用户,而是指比较慢的DSL / Cable 连接。
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);
高配置,窄带
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 30
00000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-con
nections-per-server", 4);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);
低配置 宽带
user_pref("content.max.tokenizing.time", 3000000);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 1000000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 1000000);
user_pref("content.maxtextrun", 4095);
user_pref("nglayout.initialpaint.delay", 1000);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("dom.disable_window_status_change", true);
说明一下最后一条设置:当改变网页时状态栏被禁用,可以节省载入时间。
低配置 窄带
这是适用于很郁闷的小猫用户的
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("dom.disable_window_status_change", true);
以上并没有包括类似像catching SSL pages这类建议。 虽然关于此类设置观点并不尽相同,可有一点是共同的:更改 pipelining 的确可以提高firefox的速度。
低端用户也可以像高端用户那样将firefox默认调用4Mcache.memory的数值调高。 而拥有高频或者双CPU的用户同样也可以禁用状态栏来提升速度。
               
               


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8048/showart_60103.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP