舊文件

此處文件僅供參考,請自行考量時效性與適用程度,其他庫藏文件請參考文件頁面
我們亟需您的協助,進行共筆系統搬移、及文件整理工作,詳情請查閱參與我們

「Firefox 最佳化」修訂間的差異

出自 MozTW Wiki

JTW rebuild
行 5: 行 5:
  
  
==一.Speeding up Firefox the right way==
+
==Speeding up Firefox the right way==
 
原文來自[[http://codebetter.com/blogs/darrell.norton/archive/2005/01/28/48720.aspx 這裡]]
 
原文來自[[http://codebetter.com/blogs/darrell.norton/archive/2005/01/28/48720.aspx 這裡]]
  
行 118: 行 118:
  
  
==二.加快你 FF 瀏覽的速度==
+
==加快你 FF 瀏覽的速度==
 
原文來自[[http://forum.moztw.org/viewtopic.php?t=4913 這裡]]
 
原文來自[[http://forum.moztw.org/viewtopic.php?t=4913 這裡]]
  
行 138: 行 138:
  
  
==三.其他==
+
==其他==
 
<pre>
 
<pre>
 
browser.urlbar.autoFill,"true";
 
browser.urlbar.autoFill,"true";
行 151: 行 151:
  
  
==四.FireTweaker==
+
==FireTweaker==
 
這個程式可以從[[http://www.emilsoft.net/files/html/products/Firetweaker.htm 這裡]]下載
 
這個程式可以從[[http://www.emilsoft.net/files/html/products/Firetweaker.htm 這裡]]下載
  
行 190: 行 190:
 
如"C:\Program Files\Mozilla Firefox\firefox.exe" -turbo
 
如"C:\Program Files\Mozilla Firefox\firefox.exe" -turbo
 
</pre>
 
</pre>
 +
 +
 +
<div class="boilerplate metadata plainlinks" id="stub">
 +
{| cellspacing="2" cellpadding="3" style="width:80%;border:solid #999 1px;background:#F8F8F8;margin:0.5em auto;clear:all" align="center"
 +
|style="width:10%;text-align:right"|
 +
|'''{{PAGENAME}}'''還在編寫中。歡迎您積極[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} 編輯或修訂],擴充本文內容。
 +
|}
 +
</div>

於 2005年3月28日 (一) 19:58 的修訂

重要:這些設定參數不保證不會傷害您的系統,造成不穩定,或有顯著效果. 服用者請自負責任,也歡迎回報心得



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


個人工具