[Firefox] Optimize Firefox’s memory usage by tweaking session preferences - qkShare香港討論區

返回   qkShare香港討論區 > 電腦專區 > 電腦軟硬件交流區 > Browser Tools/Addon


Browser Tools/Addon for IE, Firefox, Chrome, Safari and Opera提供各類瀏覽器外掛介紹, 交流及下載
IE外掛, FireFox外掛, Chrome外掛, Safari外掛, Opera外掛, Chromium

回覆
 
主題工具
舊 11-09-2008, 10:27   #1
初心者
 
註冊日期: Jan 2008
文章: 44
致謝數: 0
獲感謝文章數:14
獲會員感謝數:76
預設 [Firefox] Optimize Firefox’s memory usage by tweaking session preferences

Share on facebook
I’m a heavy tabbed browsing user - I have around 30 tabs open in my day-to-day Firefox profile all the time. Since the day Firefox 3 was released, I’ve noticed Firefox progressively getting slower with this particular Firefox profile (I use a different profile for web development). When it got to the point where changing tabs took a noticeable pause of 1-2 seconds, I tweaked some of Firefox’s session store and history preferences and now things are blazing fast again.
Here’s what you can do:
  1. Go to about:config in Firefox.
  2. Type in “session” in the “Filter” box.
  3. Edit browser.sessionhistory.max_entries - this is the number of pages stored in the history of your browsing session. Basically these are pages that can be reached using your Back and Forward buttons. The default is 50 - I reduced it to 20.
  4. Edit browser.sessionhistory.max_total_viewers - this is the number of pages that are stored in RAM so that they aren’t re-processed by Firefox’s rendering engine. This is what allows you to go Back to a page in Firefox and have it load almost instantaneously. The number of pages stored actually depends on the amount of RAM on your machine (see this). I reduced this to 4 (I have 2GB RAM).
  5. Edit browser.sessionstore.max_tabs_undo - the number of tabs you can restore after closing them (you can do this with Ctrl/Cmd-Shift-T). The default of 10 is more than I really need, so I reduced it to 3 tabs.
  6. Edit browser.sessionstore.interval - Firefox saves your session after every 10 seconds by default. I changed this to a more conservative 30000 milliseconds.
You can read more about these preferences and more at the MozillaZine Knowledge Base. If you’ve any tips on how to improve Firefox’s performance, be sure to share!
lordark394 目前離線   回覆時引用此篇文章
回覆

主題工具

發文規則
不可以發表新主題
不可以發表回覆
不可以上傳附件
不可以編輯自己的文章

啟用 BB 代碼
論壇啟用 表情符號
論壇啟用 [IMG] 代碼
論壇禁用 HTML 代碼
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用



所有時間均為 +8。現在的時間是 15:54


qkShare All Rights Reserved.
重要聲明:本討論區是以即時上載留言的方式運作,qkShare香港討論區 對所有留言的真實性、完整性及立場等,不負任何 法律責任。而一切留言之言論只代表留言者個人意見,並非本網站之立場,用戶不應信賴內容,並應自行判斷內容之真實性。於有關情形下,用戶應尋求專業意見 (如涉及醫療、法律或投資等問題)。 由於本討論區受到「即時上載留言」運作方式所規限,故不能完全監察所有留言,若讀者發現有留言出現問題,請聯絡我們。qkShare香港討論區有權刪除任何留言及拒絕任何人士上載留言,同時亦有不刪除留言的權利。切勿撰寫粗言穢語、誹謗、渲染色情暴力或人身攻擊的言論,敬請自律。本網站保留一切法律權利。
Powered by Translate
af sq ar be bg ca zh-CN hr cs da nl en et tl fi fr gl de el iw hi hu is id ga it ja ko lv lt mk ms mt no fa pl pt ro ru sr sk sl es sw sv zh-TW th tr uk vi cy yi