make FireFox *ultrafast*

flexy

Diamond Member
Sep 28, 2001
8,464
155
106
its just a 'sum up' for some people who did not already know.

If you have a FAST computer and a FAST connection, do this:

(1)
*** FIND THE PATH NAME OF YOUR FireFox preferences (prefs.js) ********

On Windows XP/2000, the path is usually %AppData%\Mozilla\Firefox\Profiles\default.xxx\, where xxx is a random string of 3 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\ and the rest should be obvious.

On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\default.xxx

On Linux, the path is usually ~/.mozilla/firefox/default.xxx/.

On MacOS X, the path is usually ~/Library/Application Support/Firefox/Profiles/default.xxx/.
***
(2)
ADD the following (between the two lines) to your prefs.js, eg. with wordpad or notepad:

--------------------------------------------------

user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("content.notify.backoffcount", 5);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("browser.cache.memory.capacity", 65536);

------------------------------------------------

The last entry would allocate 65MB *internal* browser cache - but you can also set this to 32768 (32MB) or 16384 (16MB), depending how much memory you are willing to give FF. (Default for FF is 4096). I use 32MB which i think is a good compromise for me.

I already use a customized Moox FireFox build with some of these optimizations already in it - but now it got even FASTER - insane :)
 

CPA

Elite Member
Nov 19, 2001
30,322
4
0
Hey, I did this and now I've noticed .gifs don't come up on websites (for example the Anandtech logo gif on the top of the page. When I went back to the pref.js file, all of those lines that I added were gone. What happened and how can I fix it?
 

znaps

Senior member
Jan 15, 2004
414
0
0
Edit and save the file when Firefox is not running.

Oh, and don't forget to backup your files previous to making random changes that some guy you don't know posts on a web forum ;)
 

CPA

Elite Member
Nov 19, 2001
30,322
4
0
Originally posted by: znaps
Edit and save the file when Firefox is not running.

Oh, and don't forget to backup your files previous to making random changes that some guy you don't know posts on a web forum ;)

:eek:


edit: I cleared the cache and all is well now. Thanks for the tip.
 

TDiddy

Member
Jun 24, 2004
118
0
0
after i go to C:\Documents and Settings\Owner\Application Data\Mozilla\Firefox\Profiles, i got get a file called "6la8woqp.default"
i dont see where ur talking about where i can edit those options?

(i did a fresh install of 1.0, after uninstalling and deletein 1.0pr)
 

CPA

Elite Member
Nov 19, 2001
30,322
4
0
Originally posted by: TDiddy
after i go to C:\Documents and Settings\Owner\Application Data\Mozilla\Firefox\Profiles, i got get a file called "6la8woqp.default"
i dont see where ur talking about where i can edit those options?

(i did a fresh install of 1.0, after uninstalling and deletein 1.0pr)

Just do a search for prefs.js. You'll probably see two files, one is pretty much empty, another has your default preferences. Add the lines above to the file that has the default preferences in it. And as mentioned above, do it and save the file with the browser closed.
 

flexy

Diamond Member
Sep 28, 2001
8,464
155
106
Originally posted by: CPA
Hey, I did this and now I've noticed .gifs don't come up on websites (for example the Anandtech logo gif on the top of the page. When I went back to the pref.js file, all of those lines that I added were gone. What happened and how can I fix it?


the lines are not gone....it looks like FireFox is sorting the prefs.js. Its there, still - just in alphabetical order now :)

Yes..and i also see a *noticeable* improvement !
 

johnjbruin

Diamond Member
Jul 17, 2001
4,401
1
0
type in "about:config" in the address bar and you can edit all these preferences from their also.
 

jfall

Diamond Member
Oct 31, 2000
5,975
2
0
Didn't really make much of a difference for me

P4 3ghz HT / 512 DDR / Slackware 10 / Firefox 1.0 Final / Cable Connection
 

Burrens78

Senior member
Oct 19, 2004
200
0
0
Wait, I don't understand, do you append these changes to the pref.js file, or do you create a user.js file in the profile folder?