nix, shell, perl, php, mysql and mac os x tips and tricks

Wednesday, November 4, 2009

Vacuum the SQLite database to speed up Firefox on os x

Go Tools -> Error Console and paste the line below in the "Code" field, enter and wait. It actually makes a noticeable difference.
Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");

No comments:

Post a Comment