Jump to content


Photo

Speed-up your Firefox startup


  • Please log in to reply
5 replies to this topic

#1 T800

T800
  • Members
  • 106 posts

Posted 15 November 2010 - 08:09 PM

A little trick I thought I'd share with you all.

As I was archiving my stuff, I found that my Firefox (Portable) profile folder is over 100 mb, mostly because of 2 files: urlclassifier3.sqlite (>30mb) and places.sqlite (>20mb).
The first one is just a local database of bad/phishing/etc. sites, it's more or less not needed, ffox will rebuild it if you delete it.
The second one, places.sqlite contains important stuff (bookmarks, history etc.), but it can become unnecessary bloated over the time even if it doesn't contain much data.
First I cleared history (guess it made it a bit smaller on the inside).

Then I found that there's a tool called sqlite3 that can clean it up and make it smaller.
And it goes a little something like this:
Download zip, then extract sqlite3.exe your <profile> folder where places.sqlite file is.
Open command prompt and type:
sqlite3 places.sqlite vacuum
After it's done, the 30+ mb file shrunk to 500 kb and my Firefox starts up about 5 times faster (well, obviously, 'cause it has less data to process).

I hope people out there will find this useful.
:arrow: Standard disclaimer: don't blame me if you break something

I can only show you the door. You're the one that has to walk through it.



#2 SoggyDog

SoggyDog
  • Members
  • 803 posts

Posted 15 November 2010 - 09:18 PM

CCleaner by Piriform, a free and fairly thorough system cleanup utility, also offers the ability to compact your Firefox databases.

Piriform also offers three other free tools;
Defraggler (defragger)
Recuva (file recovery)
Speccy (system spec tool)

#3 m^2

m^2
  • Members
  • 100 posts

Posted 16 November 2010 - 11:09 AM

There's Vacuum Places - addon that let's you automate the cleanup.

#4 Guests

  • Guests

Posted 16 November 2010 - 10:29 PM

"sqlite" is actually a database file, based off SQLite - it's so fast, small and efficient, it can run a database in-memory (imagine that!)

The "vacuum" option removes all deleted records and just leaves the live ones.

#5 Guests

  • Guests

Posted 16 November 2010 - 10:48 PM

Actually, sorry to hijack this thread, but if you really want to speed up your Firefox startup, install the "Bar Tab" add-on!

#6 SoggyDog

SoggyDog
  • Members
  • 803 posts

Posted 17 November 2010 - 07:13 PM

Actually, sorry to hijack this thread, but if you really want to speed up your Firefox startup, install the "Bar Tab" add-on!

Helpful only if you leave a boat-load of tabs open in Firefox when you close that all have to open back up when you re-launch;
Otherwise, entirely useless in the context of this thread.