2011年6月25日 星期六

Firefox 終極加速

使用環境:
1. ArchLinux x86_64
2. AMD Phenom II X2 550 + 8G RAM + Radeon HD 5670 1G Gddr5
3. Firefox v5.0

參考:http://www.verot.net/firefox_tmpfs.htm?
基本上述英文網址應該淺顯易懂,如有不了解的地方請留言,此方法可加速 firefox 的啟動速度,
效果非常明顯,甚至超越 chromium(chrome),只是需關閉 SafeBrowsing(安全性瀏覽),無此需求者倒可嘗試。


再來是網路上常見的調校,個人建議(about:config):
1. network.http.pipelining > true
2. network.http.pipelining.maxrequests > 16
3. network.http.pipelining.ssl > true
4. network.dns.disableIPv6 > true (目前 IPV6 還不盛行)

建議搭配 dnsmasq(DNS 快取),將常用的網域名稱->IP 儲存至記憶體,可降低 DNS 查詢時間:
pacman -S dnsmasq
編輯 /etc/dnsmasq.conf
listen-address 127.0.0.1
bind-interfaces
cache-size=1000

系統使用的 DNS Server,個人使用這些:
/etc/resolv.conf
nameserver 127.0.0.1
nameserver 61.31.233.3
nameserver 61.63.0.67
nameserver 8.8.4.4

沒有留言: