Home > firefox, ubuntu > How to speed up Firefox

How to speed up Firefox


I’ve had some problems recently with Firefox 6: sometimes it freezes for a few seconds, the CPU usage jumps up to 100%, then everything goes back to normal. It gets annoying when it happens in every 10 minutes…


I looked after the problem and found some tips.

Delete cache

The cache can grow quite big, so delete it:


Vacuum SQLite

Firefox stores your browsing data and some other stuff in SQLite databases. These database files must be maintained sometimes to wipe old junks out of them. Go to ~/.mozilla/firefox/XXXXXXXX.default where you will find the .sqlite files (places.sqlite, etc.). Execute the following command:

$ for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done

This operation compacted my places.sqlite from 10.2 MB to 1.8 MB!

This tip is from here.

Update (20110924)

To tell the truth, the methods above didn’t solve the blocking problem on my laptop. So I moved on to Firefox 7 with an empty ~/.mozilla folder. I think something got messed up in my mozilla home folder and the blocking problem was due to that. After all, I’ve been using that folder for years… Sometimes it’s a good idea to start with a tabula rasa.

  1. No comments yet.
  1. September 24, 2011 at 12:48

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: