首先,在你的FIREFOX个人配置文件夹下,建一个名为 user.js 的纯文本文件。然后根据不同的电脑和网络配置,分别输入以下内容:
所有配置的共用设置
(这些设置对所有的配置都是共同的,而不管连接速度或者电脑速度有多快。就是说,不管是下面的哪种配置,这几行代码都加进去。)
代码:
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);
1、快速的电脑+快速的连接
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-pro xy", 16);
user_pref("network.http.max-persistent-connections-per-s erver", 8);
user_pref("browser.cache.memory.capacity", 65536);
(注:最后一行为 firefox 分配了64M内存缓存。小内存的电脑用户一定要根据自己的实际情况改变这一数值,否则可能会影响系统的整体性能,除非你的内存超 大。我个人觉得,一般情况下,8~16M内存缓存已经够用了。下同。)
所有配置的共用设置
(这些设置对所有的配置都是共同的,而不管连接速度或者电脑速度有多快。就是说,不管是下面的哪种配置,这几行代码都加进去。)
代码:
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);
1、快速的电脑+快速的连接
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-pro xy", 16);
user_pref("network.http.max-persistent-connections-per-s erver", 8);
user_pref("browser.cache.memory.capacity", 65536);
(注:最后一行为 firefox 分配了64M内存缓存。小内存的电脑用户一定要根据自己的实际情况改变这一数值,否则可能会影响系统的整体性能,除非你的内存超 大。我个人觉得,一般情况下,8~16M内存缓存已经够用了。下同。)
回复Comments
作者:
{commentrecontent}