用了firefox3以來,一直都覺得怎麽好像跑得比較慢(Firefox2)
仔細研究下,終於可以有沖浪的感覺了

不知道01的神人是不是都已經懂了,還是分享一下
Firefox3使用的SQLLite來儲存cookies,bookmark,cache &密碼
可是在用了一段時間後,SQLLite檔案http://files.getdropbox.com/u/1113424/IniFox_en.zip會變得很大,這就導致了效率問題
解決方法就是,定期優化SQLLite檔案

記得要先關閉firefox,大家也可以先看看原來的*.sqllite檔案大小,優化後再比較一下
有朋友從50MB變成5MB

[Linux]
安裝SQLLite3
sudo apt-get install sqlite3

Firefox3.0(或是已經把3.5變成default Firefox的)
for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

Firefox3.5
for f in ~/.mozilla/firefox-3.5/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

[Windows]
IniFox : http://files.getdropbox.com/u/1113424/IniFox_en.zip
下載 IniFox 然後解壓在Firefox profile folder.
Windows XP: C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\[randomcharacters.default]
Windows Vista: C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[randomcharacters.default]
Windows 7: C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[randomcharacters.default]
然後執行IniFox.bat


[Mac]
cd ~/Library/Application\ Support/Firefox/Profiles/
for f in */*.sqlite; do sqlite3 $f 'VACUUM;'; done
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!