WinTip
: เร่งสปีด FireFox
โดย นิตยสาร WinMag
อัพเดต 2 มกราคม 2005 เวลา 6:8 น.
Copy only from : http://www.adslthailand.com/forum/viewtopic.php?t=9476
แม้ผู้ใช้ส่วนใหญ่จะรู้สึกพอใจในความเร็วของบราวเซอร์ FireFox แต่ความจริงที่หลายท่านอาจจะยังไม่ทราบก็คือ พวกเราสามารถปรับแต่งความเร็วของบราวเซอร์ตัวนี้ให้เร็วขี้นได้อีก...โดยเฉพาะผู้ใช้บรอดแบนด์
สำหรับความลับที่ซ่อนอยู่ในการปรับแต่งนี้ก็คือ การทำให้บราวเซอร์สามารถร้องขอหน้าเว็บมากกว่าหนึ่งคำร้องขอพร้อมๆ กัน ซึ่งจะช่วยให้การโหลดหน้าเว็บเร็วขึ้นนั่นเอง พร้อมแล้วไปดูกันเลยครับ
(1). พิมพ์คำสั่ง about:config เข้าไปในช่องแอดเดรส แล้วกดปุ่ม Enter จากนั้นเลื่อนหน้าจอลงมาจนถึงรายการข้างล่างนี้
network.http.pipelining
network.http.proxy.pipelining
network.http.pipelining.maxrequests
(2). แก้ไขค่าดังนี้
กำหนดค่า network.http.pipelining ให้เป็น
true
กำหนดค่า network.proxy.pipelining ให้เป็น
true
จากนั้นกำหนดค่าของ network.http.pipelining.maxrequests เป็น
30 ซึ่งหมายความว่า ให้ส่งคำสั่งร้องขอหน้าเว็บ 30 ครั้งในคราวเดียว
(3). หลังจากแก้ไขเสร็จแล้ว คลิกขวาบนพื้นที่ว่าง เลือกคำสั่ง New -> Integer ตั้งชื่อว่า nglayout.initialpaint.delay พร้อมทั้งกำหนดค่าเป็น 0 ค่านี้จะหมายถึงช่วงเวลาที่บราวเซอร์ใช้รอคอยก่อนที่มันจะรับข้อมูลข่าวสาร
คราวนี้ ลองเข้าไปเว็บไซต์ที่ชื่นชอบ เพื่อสัมผัสความเร็วที่แตกต่างอย่างเห็นได้ชัดได้แล้วครับ
อีกเวบลิ้งค์หนึ่ง
ที่มีรายละเอียดเกี่ยวกับการปรับแต่ง
FireFox ให้ไหลลื่น
ที่
http://www.com-th.net/webboard/index.php?topic=4347.new
ถ้าจำไม่ผิด น่าจะเป็นคุณ TM เคยนำมาลงไว้ครั้งหนึ่งแล้ว ในชื่อปรับแต่ง Firefox ให้ลื่นหัวแตก เผอิญผมไปบทความชิ้นนี้อีกครั้งในเว็บต่างประเทศ
และมีรายละเอียดการปรับแต่งที่แจกแจงตามลักษณะของเครื่องคอมพิวเตอร์
และความเร็วในการต่อเน็ท จึงขอนำมาลงไว้อีกครั้งหนึ่ง
เริ่มการปรับแต่ง ให้คุณพิมพ์คำสั่งต่อไปนี้ ที่ Address Bar ของโปรแกรม FireFox
พิมท์โค๊ด: about:config
ลงในช่อง URL
เมื่อกด <Enter> Firefox จะแสดงค่าตัวแปรต่างๆ ขึ้นมา จากนั้นให้คุณเลื่อนหาและปรับค่าดังต่อไปนี้
การปรับแต่งแบบทั่วไป (กรณีไม่แน่ใจว่าควรจะปรับแบบใดดี)
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);
การปรับในกรณีที่ใช้เครื่องที่มีสเปคสูง และต่ออินเตอร์เน็ทแบบความเร็วสูง (เช่น ADSL)
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);
การปรับในกรณีที่ใช้เครื่องที่มีสเปคสูง แต่ต่ออินเตอร์เน็ทแบบธรรมดา (เช่น ADSL 256Kb)
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);
การปรับในกรณีที่ใช้เครื่องที่มีสเปคสูง และต่ออินเตอร์เน็ทแบบความเร็วปานกลาง (เช่น ADSL 512Kb)
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);
การปรับในกรณีที่ใช้เครื่องที่มีสเปคต่ำ แต่ต่ออินเตอร์เน็ทแบบความเร็วสูง (เช่น ADSL 1Mb)
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);
การปรับในกรณีที่ใช้เครื่องที่มีสเปคต่ำ และต่ออินเตอร์เน็ทแบบ Dial-Up 56Kb
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);
เมื่อปรับแต่งเสร็จ อาจจะปิดโปรแกรม FireFox แล้วลองเปิดขึ้นมาเพื่อทดสอบการทำงานดูอีกครั้ง
หรือหากใครไม่อยากที่จะปรับแต่งค่าข้างต้นด้วยตัวเอง ก็อาจจะใช้โปรแกรมต่อไปนี้ ในการปรับแต่งแทน (ผมยังไม่เคยทดสอบเหมือนกัน)
http://rapidshare.de/files-en/355360/Firefox_Patcher.zip.html
* จุดที่อาจจะมีปัญหา คือ การแยกความแตกต่างระหว่าง เครื่องที่มีสเปคสูง กับเครื่องที่มีสเปคต่ำ ซึ่งทางผู้ทดสอบก็ไม่ได้จำแนกไว้อย่างชัดเจน
แต่เมื่อดูจากวันที่ทดสอบ คือ ต้นปีนี้ 2005 คอมพิวเตอร์สเปคสูงที่ว่าจึงน่าจะเป็นระดับ Pentium 4 ส่วนสเปคต่ำก็น่าจะเป็นระดับ Pentium III หรือซีพียูอื่นที่ความเร็วไม่ถึง 1 Ghz