January 7, 2007
很多人都开始试用Firefox, 但很多人开始的时候都会觉得这个Firefox比IE还不好用, 速度甚至比IE还慢, 那是因为Firefox把一些参数都设置在最保守的状态, 所以网上就有了一系列的Firefox的优化教程, 其中就有一个软件叫FastFirefox的, 这个软件可以根据你的要求调快你的Firefox, 但这个软件有一点不爽, 就是如果用于portable的Firefox, 经常会出错不能使用, 原因是找不到配置文件, 这个配置文件在Portable Firefox的1.5版中是有的, 但到了Firefox Portable的2.0版就没有了, 所以导致FastFirefox不能使用。 为此, 我把其中的用FastFirefox设置的代码给拷贝了出来, 放出来供各位使用, 也权当可以学习一下!
以下代码分为四部分, 分别是快速计算机快速网络, 快速计算机慢速网络, 慢速计算机快速网络, 慢速计算机慢速网络, 相应的代码拷贝到相应的profile目录下的prefs.js中即可
附代码如下:
——–快速计算机,快速网络
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(”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);
user_pref(”firetune.optimization”, 1);
user_pref(”network.http.pipelining”, False);
user_pref(”network.http.request.max-start-delay”, 10);
user_pref(”plugin.expose_full_path”, False);
user_pref(”network.http.keep-alive.timeout”, 300);
user_pref(”browser.cache.disk_cache_ssl”, false);
user_pref(”browser.xul.error_pages.enabled”, false);
user_pref(”browser.urlbar.autoFill”, false);
user_pref(”config.trim_on_minimize”, false);
——–快速计算机,慢速网络(1)
user_pref(”content.interrupt.parsing”, true);
user_pref(”network.http.pipelining”, False);
user_pref(”network.http.request.max-start-delay”, 10);
user_pref(”plugin.expose_full_path”, False);
user_pref(”network.http.keep-alive.timeout”, 300);
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(”firetune.optimization”, 2);
user_pref(”browser.cache.disk_cache_ssl”, false);
user_pref(”browser.xul.error_pages.enabled”, false);
user_pref(”browser.urlbar.autoFill”, false);
user_pref(”config.trim_on_minimize”, false);
——–快速计算机,慢速网络(2)
user_pref(”network.http.pipelining”, False);
user_pref(”network.http.request.max-start-delay”, 10);
user_pref(”plugin.expose_full_path”, False);
user_pref(”network.http.keep-alive.timeout”, 300);
user_pref(”content.interrupt.parsing”, true);
user_pref(”content.max.tokenizing.time”, 3000000);
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-connections-per-server”, 4);
user_pref(”nglayout.initialpaint.delay”, 0);
user_pref(”browser.cache.memory.capacity”, 65536);
user_pref(”firetune.optimization”, 3);
user_pref(”browser.cache.disk_cache_ssl”, false);
user_pref(”browser.xul.error_pages.enabled”, false);
user_pref(”browser.urlbar.autoFill”, false);
user_pref(”config.trim_on_minimize”, false);
——–慢速计算机,快速网络
user_pref(”network.http.pipelining”, False);
user_pref(”network.http.request.max-start-delay”, 10);
user_pref(”plugin.expose_full_path”, False);
user_pref(”network.http.keep-alive.timeout”, 300);
user_pref(”content.interrupt.parsing”, true);
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(”firetune.optimization”, 4);
user_pref(”browser.cache.disk_cache_ssl”, false);
user_pref(”browser.xul.error_pages.enabled”, false);
user_pref(”browser.urlbar.autoFill”, false);
user_pref(”config.trim_on_minimize”, false);
——–慢速计算机,慢速网络
user_pref(”network.http.pipelining”, False);
user_pref(”network.http.request.max-start-delay”, 10);
user_pref(”plugin.expose_full_path”, False);
user_pref(”network.http.keep-alive.timeout”, 300);
user_pref(”content.interrupt.parsing”, true);
user_pref(”browser.cache.memory.capacity”, 65536);
user_pref(”content.notify.backoffcount”, 5);
user_pref(”content.maxtextrun”, 4095);
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);
user_pref(”firetune.optimization”, 5);
user_pref(”browser.cache.disk_cache_ssl”, false);
user_pref(”browser.xul.error_pages.enabled”, false);
user_pref(”browser.urlbar.autoFill”, false);
user_pref(”config.trim_on_minimize”, false);
您喜欢本文吗?即刻订阅"偶爱偶家",精彩文章不再错过!现在就给我们留个话吗?


2 responses to "给Firefox加速"
试用下.我用的FF3 目录里 没prefs.js 这个文件哦。。。
[Reply]
http://www.6inchboot.com/
UGG boots;cheap UGG;UGG classic
[Reply]