Mar 9, 2012

Enable disk cache to speed up Firefox 設定磁碟快取來加速火狐瀏覽器

Firefox browse cache usually was limited by ram size.
Firefox 的瀏覽快取通常都被記憶體大小限制住。

Using disk cache can increase more browse cache efficiency especially with SSD disk.
所以使用硬碟快取的話可以更增加快取效率,尤其是使用 SSD 硬碟。



Step 1. type "about:config" in web address bar and press Enter.
步驟一. 在網址列輸入 about:cache 並按下Enter。




Step 2. Ignore warning, click "I'll be careful, I promise!
步驟二.  忽略警告訊息,按下"我撥誓,我一定會心心的!"




Step 3. check if these options exists or not
步驟三. 確認以下參數是否設定正確

browser.cache.disk.enable true
p.s. if this value not exists, right click and select New -> boolean. Input "browser.cache.disk.enable" value and set value to true.
如果這個參數存在,按下右鍵選擇新增->真假值。輸入 "browser.cache.disk.enable"並選擇 true


browser.cache.disk.parent_directory C:\
p.s. if this value not exists, right click and select New -> String. Input "browser.cache.disk.parent_directory" and input cache directory path.
如果這個參數存在,按下右鍵選擇新增->字串 。輸入 "browser.cache.disk.parent_directory"並輸入快取目錄


browser.cache.disk.capacity 512000
p.s. if this value not exists, right click and select New -> Integer. Input "browser.cache.disk.capacity" value and set cache value.
如果這個參數存在,按下右鍵選擇新增->數值。輸入"browser.cache.disk.capacity"並輸入快取大小



Step 4. restart Firefox
步驟四. 重新啟動 Firefox

Step 5. type "about:cache" in web address bar and press Enter.
步驟五. 在網址列輸入 "about:cache" 並按下 Enter



Step 6. If it works, you can see "Disk cache device" message.
步驟六. 設置成功的話,可以看到 "Disk cache device"的字樣

No comments:

Post a Comment