By adding the following settings to your User.js file you may see are marked decrease in your webpage load time, thus speeding up your browsing experience. The User.js file can be found by going to Edit-Preferences-Settings. Lines beginning with /* and ending with */ are brief explanations of each setting and can be copied as is to the file accompanying the code lines.
/* TURN ON TIMER BASED REFLOW MANAGEMENT */ user_pref("content.notify.ontimer", true); /* SETS THE ALLOWED TIME BETWEEN REFLOWS IN MICROSECONDS */ user_pref("content.notify.interval", 100); /* SET THE NUMBER OF REFLOWS TO DO BEFORE WAITING FOR THE REST OF THE PAGE TO ARRIVE */ user_pref("content.notify.backoffcount", 200); /* ENABLE IMPROVED PIPELINING */ user_pref("network.http.pipelining", true); user_pref("network.http.proxy.pipelining", true); user_pref("network.http.pipelining.firstrequest", true); /* Default is false */ user_pref("network.http.pipelining.maxrequests", 100); /* Default is 4 */ /* INCREASE MULTI-THREADED DOWNLOAD PERFORMANCE */ user_pref("network.http.max-connections", 60); /* Default is 24 */ user_pref("network.http.max-connections-per-server", 32); /* Default is 8 */ user_pref("network.http.max-persistent-connections-per-proxy", 16); /* Default is 4 */ user_pref("network.http.max-persistent-connections-per-server", 8); /* Default is 2 */ /* REMOVE PAINT DELAY WHEN LOADING */ user_pref("nglayout.initialpaint.delay", 0); /* Default is 250 */
Added by Marc
I've also found that the following preferences can solve many problems with servers, and/or proxies that don't support keep-alive connections.
Note: KM' behavior is also weird (from what I saw with some tests I've done) with "keep-alive" set to true. It seems to limit itself to a small amount of simultaneous connections (around 4, and sometimes only a maximum of 2 per server) whatever the values of "max-connections". I don't know if this is a Gecko bug, an intended feature, or a behavior limited to this particular version of Gecko (as of 0.8.2).
user_pref("network.http.keep-alive", false); user_pref("network.http.proxy.keep-alive", false);
Use them with the preferences above or at least with:
user_pref("network.http.max-connections", 40); /* or more */ user_pref("network.http.max-connections-per-server", 20); /* or more */
Added by John
To make it easier to enable or disable this tweak, I took the liberty to create a macro for this tweak.
You can find the macro here: Page Speed (for K-Meleon prior to 1.1), KmmSpeedUp (for K-Meleon 1.1)