EricLi
火狐狸
火狐狸
  • UID830
  • 注册日期2004-12-13
  • 最后登录2010-10-29
  • 发帖数103
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:3656回复:5

【转载】几个参考的优化参数!

楼主#
更多 发布于:2004-12-15 20:41
偶是新来的!不过我已经深深的爱上了这头狐狸了!呵呵
下面是http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html上面说的一些优化参数 仅做参考!
如果有价值 E文好的可以翻译一下!
Common to all configurations

These are the settings that seem to be common to all configuration files regardless of connection speed or computer speed with a couple of additions - plugin paths can be found with about:plugins and the bookmark menu delay is turned off.

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);

Fast Computer Fast Connection

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);

A couple settings of note - Firefox is allocated 4096 KB of memory by default and in this configuration we give it roughly 65MB as denoted by the last line. This can be changed according to what is used.

Fast Computer, Slower Connection

This configuration is more suited to people without ultra fast connections. We are not talking about dial up connections but slower DSL / Cable connections.

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);

Fast Computer, Slow Connection

user_pref("browser.xul.error_pages.enabled", true);
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);

Slow Computer, Fast Connection

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);

One of the changes made for this particular configuration is the final line where the status bar is disabled for changing web pages to save processor time.

Slow Computer, Slow Connection

We have entered the doldrums of the dial-up user

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);

Some of the options we chose not to include as opposed to suggestions on the Mozillazine threads included the suggestion of catching SSL pages. Regardless of computer speed, one of the common trends is that pipelining is a good thing. Those with faster computers and gobs of memory may want to up the amount of memory available to Firefox while those with slower computers can still increase the default 4MB to something higher. This was not done in our configuration files however. Powerusers are also welcome to disable the status bar to eek out that extra CPU cycle or two.
EricLi
火狐狸
火狐狸
  • UID830
  • 注册日期2004-12-13
  • 最后登录2010-10-29
  • 发帖数103
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
1楼#
发布于:2004-12-15 20:41
这个是那个人的个人关于firefox的一些总结 可以看的出他们对firefox的一些看法 对比我们还是有点区别的!他们看重的是安全、小巧、好的可扩展性(DIY)和免费
Conclusions

Firefox is a cool product with a lot of potential. It upgrades browser functionality whereas Microsoft has left IE for dead stating that it is good enough in its current state. With the alarming number of security flaws in IE, Firefox should be looked at seriously as an alternative browser. While I have not yet migrated fully to Firefox, I do most of my browsing on it, I would say about 90%. This is coming from a former jaded Netscape user who switched to IE5 and never looked back till Firefox came around.

For the poweruser, Firefox is a pretty ideal browser. Being a no frills package it weighs in at under 10MB for the entire browser when the current trend in the industry is to get bigger. Firefox offers a lot of oppurtunities to fine tune the browser to the needs of the end user through from the backend all the way up to the visual style of the browser. For the more intrepid, the source code is also available to poke around at. A final note is that it is free. Give it a shot. At worst it will not be used and will take up only 10MB. At best it might save your computer from a trashing when you miss the bulletin for the next IE Critical Vulnerability. For most people, it will provide things that Microsoft has not yet got around to, such as tabbed browsing and pop up blocking. Choice is a good thing and Firefox is that one of those choices that is not as radical as a suggestion to switch to Linux but yet can improve the Internet experience.
EricLi
火狐狸
火狐狸
  • UID830
  • 注册日期2004-12-13
  • 最后登录2010-10-29
  • 发帖数103
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2004-12-15 20:41
呵呵 免费在我们看来已经不足为道了!国内的盗版事业真的是太强大了!
刚看到一个消息  今天晚上15日9点30分钟对日本靖国神社网站http://www.yasukuni.or.jp/map.html进行反击,时间为两小时 呵呵
游客

返回顶部