[Guide] Speeding up Firefox the right way


Recommended Posts

Speeding up Firefox the right way

Speeding up Firefox seems to be a meme going around the blogsphere lately. Most of the tips I?ve seen, though, are only for broadband connections with the latest hardware and only include some of the settings that would affect performance.

The Firefox Tweak Guide has the full details on how to speed up Firefox regardless of your connection or hardware, reprinted in part below. Don?t forget that the easiest way to tweak user files is with chromEdit extension.

----

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.

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", 0Fast 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 useFast 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", 65536Fast 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", 65536Slow 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 timSlow 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);

______________________________

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.6GHz

Thats all.

Edited by Liger
Is there any reasons why they did not make it so by default?

585421505[/snapback]

So that you can get your hands dirty and tweak it yourself!

Thanks for the guide, though I think I'll stick to the basic tweak settings, this is too much work for my hearts concern :)

user_pref("network.http.pipelining.maxrequests", 8);

585421494[/snapback]

anyone that uses this part...and the rest of the guide, should NOT be allowed to browse the net.

this alteration in particular hammers servers...why the hell do you need to open 8 connections to the same server???

i think there was a explanation by the mozilla team for why these (stupid) settings are not default. something along the lines of...although parts of the page may load quicker, the overall time to load the whole page often takes longer.

pray that they never make these settings default.

anyone that uses this part...and the rest of the guide, should NOT be allowed to browse the net.

this alteration in particular hammers servers...why the hell do you need to open 8 connections to the same server???

i think there was a explanation by the mozilla team for why these (stupid) settings are not default. something along the lines of...although parts of the page may load quicker, the overall time to load the whole page often takes longer.

pray that they never make these settings default.

585422535[/snapback]

Um... What the hell? The point of piplining is not to open many connections to a single server, but to shove many requests though a single connection. Ususally, you can only make one connection at a time though a single connection. Therefore, you'd have to open many connection at once to download a single page w/graphics. If you don't, you'll have to wait for one request to finish before starting another. The problem with pipelining is that some server don't support it (pre HTTP/1.1). Also, it will hammer servers because many requests are comming through at the same time through each pipe.

It should be noted that a limit of 8 requests per pipe is hardcoded into mozilla (unless you remove the limit and recompile). I use firefox with this limit removed, but I keep max-requests to 4.

Well I've posted yesterday that it was working fine, but today it's again slow as normal...

I've checked if the boxes where filled in with the correct numbers (it was correct)

So do you guys know what the problem is ?

thx alot !!!

Edit: urm crap I've posted this in the wrong topic... Sorry about this post (delete it plz)

Edited by Musachi
Well I've posted yesterday that it was working fine, but today it's again slow as normal...

I've checked if the boxes where filled in with the correct numbers (it was correct)

So do you guys know what the problem is ?

thx alot !!!

Edit: urm crap I've posted this in the wrong topic...  Sorry about this post (delete it plz)

585423837[/snapback]

:blink: :laugh:

Dont worry I did that once too :p

Bhav - Take it easy! Noone compelled you to do it :p

May i please have a definition of what exactly is a "fast" and "slow" computer/connection?

(in my eyes i maybe fast but to others its super slow....thats why i never understood this chart)

i have:

PC : 2ghzP4,256ram,32atimobile

Web :just did a test (have seen slightly higher results)

555 / 228

Your download speed : 569053 bps, or 555 kbps.

A 69.4 KB/sec transfer rate.

Your upload speed : 233890 bps, or 228 kbps.

which one of the firefox tweaks should i use?

thank you

May i please have a definition of what exactly is a "fast" and "slow" computer/connection?

(in my eyes i maybe fast but to others its super slow....thats why i never understood this chart)

i have:

PC : 2ghzP4,256ram,32atimobile

Web :just did a test (have seen slightly higher results)

555 / 228

Your download speed : 569053 bps, or 555 kbps.

A 69.4 KB/sec transfer rate.

Your upload speed : 233890 bps, or 228 kbps.

which one of the firefox tweaks should i use?

thank you

585428323[/snapback]

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.6GHz

user_pref("content.notify.backoffcount", 5);

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

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

can't find the "content" one's in the chromedit or about:config settings...where are they?

I found this guide at others forum. Where you get this guide or you got this guide from that Lowyat forum? This speeding up Firefox technique has already been seen at least 4 month ago.

You steal this guide from MozillaZine. This is the address:

http://forums.mozillazine.org/viewtopic.ph...page=15&start=0

and this is Lowyat.net forum thread about this same speed tweak

http://forum.lowyat.net/index.php?showtopic=82701

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Feels like Hitman in Bond skin. But overall a great game! 👍
    • Microsoft released new Defender update for Windows 11, 10, Server ISO installations by Sayan Sen Microsoft releases new Windows Defender update packages very frequently to protect against various newly discovered malware. Once a while every three months or so, the company also pushes out these updates to Windows images (WIM and VHD) and ISOs, that are used to install Windows. Hence with the newest Windows 11 update available via the official MCT tool, you should get these definitions. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.445.323.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 ESU, Windows 10 Enterprise LTSC 2021, Win 10 Ent LTSC 2019, Win 10 Ent LTSB 2016, Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: "This package updates the anti-malware client, anti-malware engine, and signature versions in the OS installation images to following versions: Platform version: 4.18.26040.7 Engine version: 1.1.26040.8 Security intelligence version: 1.447.236.0" From Microsoft's security bulletin, we learn that the security intelligence update version 1.447.236.0 was released early last month and adds threat detections for various malware like trojan, backdoor exploits, ransomware, stealers, AutoKMS, and more. For those wondering, the latest intelligence update is version 1.451.297.0 at the time of writing.
    • Hello, Hope all is well. I am in UK.  
  • Recent Achievements

    • Collaborator
      conkir earned a badge
      Collaborator
    • Rising Star
      olavinto went up a rank
      Rising Star
    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
    • Reacting Well
      X-No-file earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      PsYcHoKiLLa
      271
    3. 3
      +Edouard
      75
    4. 4
      Skyfrog
      74
    5. 5
      Steven P.
      71
  • Tell a friend

    Love Neowin? Tell a friend!