「Firefox 最佳化」修訂間的差異
出自 MozTW Wiki
小 (→pigfoot rebuild) |
小 (→JTW rebuild) |
||
行 170: | 行 170: | ||
其他的在前輩的build都已經是預設值 | 其他的在前輩的build都已經是預設值 | ||
− | ===JTW rebuild=== | + | ===[[http://forum.moztw.org/viewtopic.php?t=3247 JTW rebuild]]=== |
如果是用JTW rebuild的版本的話,只要改下面就好了(其他的已經調整過了) | 如果是用JTW rebuild的版本的話,只要改下面就好了(其他的已經調整過了) | ||
<pre> | <pre> |
於 2005年3月28日 (一) 19:51 的修訂
重要:這些設定參數不保證不會傷害您的系統,造成不穩定,或有顯著效果. 服用者請自負責任,也歡迎回報心得
內容大綱
一.Speeding up Firefox the right way
原文來自[這裡]
(1)通用設定
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);
(2)寬頻/高速電腦使用者設定
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.
(3)中等頻寬/高速電腦使用者設定
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);
(4)窄頻/高速電腦
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);
(5)寬頻/慢速電腦
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.
(6)窄頻/慢速電腦
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);
二.加快你 FF 瀏覽的速度
原文來自[這裡]
network.http.pipelining network.http.pipelining.firstrequest network.http.pipelining.maxrequests network.http.proxy.pipelining nglayout.ititialpaint.delay Set #1, #2, and #4 to "true". Set #3 to a high number, like 32. Set #5 to 0. 另外在你的 FF 捷徑後面加上 -turbo 這樣開 FF 也會加快 如"C:\Program Files\Mozilla Firefox\firefox.exe" -turbo
三.其他
browser.urlbar.autoFill,"true"; browser.chrome.favicons: false browser.display.show_image_placeholders: true browser.chrome.favicons: fales browser.urlbar.autocomplete.enabled: true browser.urlbar.autoFill: true network.http.pipelining.firstrequest: true
四.FireTweaker
這個程式可以從[這裡]下載
非官方rebuild/repackage
[pigfoot rebuild]
pigfoot前輩2005年三月以後版本的只需要加入
nglayout.ititialpaint.delay :0 捷徑路經加上參數"-turbo" 如"C:\Program Files\Mozilla Firefox\firefox.exe" -turbo
其他的在前輩的build都已經是預設值
[JTW rebuild]
如果是用JTW rebuild的版本的話,只要改下面就好了(其他的已經調整過了)
user_pref("plugin.expose_full_path", true); user_pref("content.interrupt.parsing", true); user_pref("content.max.tokenizing.time", 2250000); user_pref("content.notify.interval", 750000); user_pref("content.switch.threshold", 750000); user_pref("nglayout.initialpaint.delay", 0); user_pref("network.http.max-connections", 4Cool; 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", Cool; network.http.pipelining.maxrequests :8 nglayout.ititialpaint.delay :0 捷徑路經加上參數"-turbo" 如"C:\Program Files\Mozilla Firefox\firefox.exe" -turbo