Speedup Firefox with VACUUM
I’ve seen a few posts about VACUUMing Firefox’s sqlite database for better performance, but each requires Firefox to be shut down.
Here is a way to VACUUM your places database from within the browser.
- Go to Tools -> Error Console
- Paste the following in the “Code:” text-box:
Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM"); - Press Enter
Your UI will freeze for a bit while the vacuum runs.
Resources:
Speedup Firefox with VACUUM at Oremj’s Blog 1:34 pm on August 20, 2009 Permalink |
[...] Cross post from my personal blog. [...]
Mishail 6:40 pm on August 20, 2009 Permalink |
That’s great. Thanks a lot!
Ryan Doherty 7:41 pm on August 21, 2009 Permalink |
Awesome, thanks!