Skip navigation

I just saw this post on how to vacuum your Firefox databases for better performance. Tried it, and it worked! Firefox starts up so much faster now and doesn’t have all those weird freezes. Here’s a shell script to help you if you have a Mac: just save it as “vacuum.sh” in your “~/Library/Application Support/Firefox/Profiles/xxx/” folder:

#!/bin/tcsh
foreach f (./*.sqlite)
    echo "Vacuuming $f"
    sqlite3 "$f" VACUUM
end

then run it from the terminal:

./vacuum.sh

Leave a Reply