TechSpot

Another Step to Speed up Firefox

By RoadKiller
Jan 2, 2006
  1. Common to all configurations

    These are the settings that seem to be common to all configuration files regardless of connection speed or computer speed with a couple of additions - plugin paths can be found with about :plugins and the bookmark menu delay is turned off.

    __________________________________________________________________________

    Note :
    A fast connection is anything above DSL or even DSL included. A slow connection is 56K.

    A fast PC is anything more than 1.6 GHz

    A slow PC is anything less than 1.6G

    __________________________________________________________________________

    Fast Computer, Fast Connection

    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);

    A couple settings of note - Firefox is allocated 4096 KB of memory by default and in this configuration we give it roughly 65MB as denoted by the last line. This can be changed according to what is used.

    ___________________________________________________________________________

    Fast Computer, Slower Connection

    This configuration is more suited to people without ultra fast connections. We are not talking about dial up connections but slower DSL / Cable connections.

    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("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("nglayout.initialpaint.delay", 0);
    user_pref("browser.cache.memory.capacity", 65536);

    ___________________________________________________________________________

    Fast Computer, Slow Connection

    user_pref("browser.xul.error_pages.enabled", true);
    user_pref("content.interrupt.parsing", true);
    user_pref("content.max.tokenizing.time", 3000000);
    user_pref("content.maxtextrun", 8191);
    user_pref("content.notify.interval", 750000);
    user_pref("content.notify.ontimer", true);
    user_pref("content.switch.threshold", 750000);
    user_pref("network.http.max-connections", 32);
    user_pref("network.http.max-connections-per-server", 8);
    user_pref("network.http.max-persistent-connections-per-proxy", 8);
    user_pref("network.http.max-persistent-connections-per-server", 4);
    user_pref("nglayout.initialpaint.delay", 0);
    user_pref("browser.cache.memory.capacity", 65536);

    _________________________________________________________________________

    Slow Computer, Fast Connection

    user_pref("content.max.tokenizing.time", 3000000);
    user_pref("content.notify.backoffcount", 5);
    user_pref("content.notify.interval", 1000000);
    user_pref("content.notify.ontimer", true);
    user_pref("content.switch.threshold", 1000000);
    user_pref("content.maxtextrun", 4095);
    user_pref("nglayout.initialpaint.delay", 1000);
    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("dom.disable_window_status_change", true);

    One of the changes made for this particular configuration is the final line where the status bar is disabled for changing web pages to save processor time.

    ________________________________________________________________________

    Slow Computer, Slow Connection

    We have entered the doldrums of the dial-up user

    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", 750);
    user_pref("network.http.max-connections", 32);
    user_pref("network.http.max-connections-per-server", 8);
    user_pref("network.http.max-persistent-connections-per-proxy", 8);
    user_pref("network.http.max-persistent-connections-per-server", 4);
    user_pref("dom.disable_window_status_change", true);

    Thats all. Hope you like it
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.