如何让Firefox优化得比Chrome更快Linux认证考试

文章作者 100test 发表时间 2009:10:16 21:33:05
来源 100Test.Com百考试题网


  Firefox一向比IE快得多,但Google Chrome发布之后,Firefox便更像是龟兔赛跑中的乌龟而不是火狐了。这篇文章提供了优化方法让Firefox优化得比Chrome更快:
  1、安装BleachBit(选择下载多语言版,支持Linux和Windows,已包含在Ubuntu 和Debian软件仓库内),专门用于释放磁盘空间的开源工具,可清除Firefox的缓存和历史,改进启动速度。
  2、在地址栏输入about:config,改变设置以更快的渲染网页:创建新的整数值content.notify.backoffcount,设定值为5;创建新的值nglayout.initialpaint.delay,设定为0。第一个值是让Firefox不要等到整个网页全部下载后再去渲染,第二个值是改进渲染速度,不要等待网页的布局信息全部下载后再渲染。
  3、优化历史:打开about:config,将储存的浏览历史过期天数browser.history_expire_days从默认的180天从改为7天,browser.history_expire_days_min从默认的90天改为7天(两个值也可以该为14或其它较低的天数),browser.history_expire_sites定义储存的最大网站数量从默认的40000降到更少。
  4、加速菜单:打开about:config,创建新整数ui.submenuDelay,值设为0。
  5、禁用IPv6,IPv4仍然是主流,IPv6数量很少,因此关闭它可以提高速度:打开about:config,将network.dns.disableIPv6从默认的’False’改为’True’。
  6、增加缓存空间,如果你的内存有2GB,那么不妨把缓存设置大一点:打开about:config,创建browser.cache.memory.capacity,设为32768。"
  7、使用TraceMonkey JavaScript引擎:打开about:config,改javascript.options.jit.chrome为True,javascript.options.jit.content的值为True。
  8、优化TCP:打开about:config,加入(有些服务器不支持)
  browser.tabs.showSingleWindowModePrefs – true
  network.http.max-connections – 48
  network.http.max-connections-per-server – 16
  network.http.max-persistent-connections-per-proxy – 8
  network.http.max-persistent-connections-per-server – 4
  network.http.pipelining – true
  network.http.pipelining.maxrequests – 8
  network.http.proxy.pipelining – true
  network.http.request.timeout – 300
  content.notify.ontimer - true
  trim_on_minimize - true (Windows only)
  content.interrupt.parsing - true
  content.max.tokenizing.time - 2250000
  content.maxtextrun - 8191
  content.notify.interval - 750000
  content.switch.threshold - 750000

相关文章


详解Linux操作系统下防火墙设置方法Linux认证考试
手动添加用户步骤Linux认证考试
linux认证辅导:linux下的yumLinux认证考试
Linux系统信息查看命令Linux认证考试
如何让Firefox优化得比Chrome更快Linux认证考试
Linux桌面用户占有率为何逐月下降?Linux认证考试
MySQL数据库安全解决方案Linux认证考试
PHP程序员容易忽略的几点精华Linux认证考试
国内开源程序靠什么站住脚跟Linux认证考试
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛