Monday, June 21, 2004
Making FireFox as fast as OperaI've heard it said, here and other places, that Opera is the fastest browser available. It is fast - there's no denying that - but there are ways to make firefox render pages every bit as quickly, with just a few easy "tweaks." I had thought these adjustments were pretty well-known, but it's beginning to seem as though they may not be. So I thought it was worthwhile to bring these "hidden settings" more into the light.
Umm.. Wow. And it was blazing fast before. In a Side-by-side comparison I still give Opera the edge, because it seems to put priority on putting the text in the right place and not getting bogged down rendering images first. But with these settings FireFox comes as close as possible without being indistinguishable, and its other features, like a cleaner interface, keep it as my default browser despite having Opera installed along-side it and IE. A couple of those key values didn't appear when I went to the about:config screen, but right-clicking and choosing 'new->[boolean|integer]' and entering the proper value produced the desired effect. (download FireFox here.) OK, done evangelizing now.
To get started, type "about:config" in your firefox address bar. The settings you're looking for are:
1.) network.http.pipelining
2.) network.http.pipelining.firstrequest
3.) network.http.pipelining.maxrequests
4.) network.http.proxy.pipelining
5.) nglayout.ititialpaint.delay
Set #1, #2, and #4 to "true". Set #3 to a high number, like 32. Set #5 to 0.
Enabling the pipelining features allows the browser to make multiple requests to the server at the same time. The "maxrequests" is the maximum number of requests it will send at once. I've heard that 8 is the most it will send at once, but setting it higher won't hurt, just in case. The initialpaint.delay is the length of time (in milliseconds) after the server response before the browser begins to paint the page.
Adjusting those settings will help pages render much faster in firefox. In fact, my own observations have been that, tweaked in this manner, firefox will render faster than Opera (and yes, I realize that others may experience different results).