PDA

View Full Version : Make youre Firefox MUCH MUCH faster


mushi
01-05-2005, 04:25 AM
Hi all;

For all of those who use Firefox, heres another reason why this browser kicks ass. I found this on a websites and it makes my firefox works much much faster.

[ QUOTE ]
Here's something for broadband people that will really speed Firefox up:

1.Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:

Set "network.http.pipelining" to "true"

Set "network.http.proxy.pipelining" to "true"

Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.

If you're using a broadband connection you'll load pages MUCH faster now!


[/ QUOTE ]

this is the web page (http://forevergeek.com/open_source/make_firefox_faster.php) that I downloaded this tweak from by the way. Enjoy

mushi /images/graemlins/spade.gif /images/graemlins/spade.gif /images/graemlins/spade.gif

TwoShedsJackson
01-05-2005, 06:17 AM
This works really well - thanks!

MarkL444
01-05-2005, 07:36 AM
why are you posting this here?

TylerD
01-05-2005, 07:52 AM
Who cares, thanks!

mushi
01-05-2005, 08:08 AM
I was under the impression that I should post this here. Can you please direct me to the correct foroum, I will post it there instead.

mushi /images/graemlins/spade.gif /images/graemlins/spade.gif /images/graemlins/spade.gif

chrisdhal
01-05-2005, 08:46 AM
I'm guessing he did due to the increased use of Firefox from Zoo members over the last week or so. This was all in response to the keyloggers and "I lost my Neteller money" threads.

jdl22
01-05-2005, 08:49 AM
The OP as well as Mark's response first appeared in the General hold'em forum.

This probably is the correct forum for the mentioned reason. OOT would be good too.

TylerD
01-05-2005, 08:55 AM
How do you move a thread?

mushi
01-05-2005, 09:11 AM
First of all thank you for redirecting my thread to the correct forum (whoever did that).

Here are a few things to note for those who are still using IE (Internet Explorer). I am not going to give you the hole speach but I do want you to know (those who havent switched yet) that I have installed Firefox in my work, home and parents home and I have not recieved a single virus ever since, amazing how secure it is compared to IE. Also there was a problem with language support and now it is solved. I am using hebrew which apart from being a very uncommon language it is also written from right to left as oppsed to english all this issues and many more are solved in the Firefox. Not to mention its great extensions and themes. But again the top issue for me is Security and in that it has no comparisson. I have also read that some pages do not dosplay correctly in Firefox, IMO this is BS I have not encountered one web page in over two months that does not display correctly.

For those of you who like Firefox I have downloaded a few days ago Thunderbird (email software) much much better that the crappy Outlook Express, try it.

I know this thread sounds like an ad to the Open Source comunity (which BTW are doing wonderfull job), but unfortunatlly I am still usind WinXP and I can tell you that both Firefox and Thunderbird are top notch products obviously MUCH MUCH better that IE and outlook express.

mushi /images/graemlins/spade.gif /images/graemlins/spade.gif /images/graemlins/spade.gif

MarkL444
01-05-2005, 09:28 AM
[ QUOTE ]
The OP as well as Mark's response first appeared in the General hold'em forum.

This probably is the correct forum for the mentioned reason. OOT would be good too.

[/ QUOTE ]

yeah im confused. i could have sworn that i gave him that reply because it was the general holdem forum. im pretty sure i double checked. hmmm...didnt know you could edit what forum it was in.

Subby
01-05-2005, 10:40 AM
Wow.

That made a huge difference.

Thanks.

cbfair
01-05-2005, 10:51 AM
I'm naturally sceptical, but not super-techy so I wanted to explore and make sure this really does what the poster says instead of opening some backdoor in my firewall, etc. I found several references to it behaving as advertised and no references to security holes, etc. so I guess I'm going to enable the change.

One thing people may want to be aware of are potential display problems decribed here (http://weblogs.mozillazine.org/asa/archives/007164.html):

[ QUOTE ]
Yes, enabling HTTP pipelining can dramatically improve networking performance. The downside, and the reason it's not enabled by default, is that it can prevent Web pages from displaying correctly. If you've enabled this, and you find pages that aren't displaying correctly, please don't blame Firefox or the Web developer. It's probably the fact that you enabled an "unsupported" feature which is incompatible with some Web servers and proxy servers.


The second change, setting the initial paint delay at zero, may get you some content on the screen faster, but it's worth noting that it will dramatically slow down the time it takes the entire page to display. Here's what's going on. Gecko, Firefox's rendering engine, is trying to optimize between the cost of waiting for a bit more data versus doing more painting and reflows as new data comes in. Waiting a bit longer before it starts painting the page gives Gecko a chance to receive more content before chewing up CPU cycles to render and reflow the document. If you drop this value down to zero or near zero, that means you'll see the page start displaying a bit earlier, but not having received much data in that short interval, you'll have a lot more paint and reflow cycles to complete rendering of the page.


This one probably comes down to a combination of bandwidth, CPU speed, and personal preference. If it works for you, and you don't mind the side-effects, then great. Just note that what works for one person/system, may not work for another.


Yes, there are tuning change you can make (even at compile time, see Moox' optimized builds) that will dramatically alter the performance characteristics of Firefox. Feel free to experiment, but remember that most of the defaults are defaults for a reason. If your browser starts misbehaving or web sites look broken, it might be worth going back to default settings.

[/ QUOTE ]

Also be aware that the change is reported to cause display problems with flash content in some cases.

If any problems crop up, just disable pipelining.

IsaacW
01-05-2005, 11:41 AM
[ QUOTE ]
Set "network.http.pipelining.maxrequests" to some number like 30.

[/ QUOTE ]
You probably don't need to set this value to more than 8 or so, unless you're loading a page with a lot of pictures on it. Since the text of the page will all come down one connection anyway, only a page with more pictures/other elements than you have maxrequests set to will load any faster. The other problem with this setting is that if everyone did this and visited a page with a lot of images on it, there would potentially be a slowdown on the server side since everyone is requesting up to 30 images at the same time.

More Firefox Tweaks Here (http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html)

Rudbaeck
01-05-2005, 12:26 PM
Woo, good advice. But please don't set it to 30 and surf 2+2 during primetime. I want to actually access the site without tweak happy kids DOSing it. /images/graemlins/wink.gif

BugsBunny
01-05-2005, 12:28 PM
It appears that any setting > 8 is actually equal to 8.

RollaJ
01-05-2005, 01:34 PM
[ QUOTE ]
Hi all;

For all of those who use Firefox, heres another reason why this browser kicks ass. I found this on a websites and it makes my firefox works much much faster.

[ QUOTE ]
Here's something for broadband people that will really speed Firefox up:

1.Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:

Set "network.http.pipelining" to "true"

Set "network.http.proxy.pipelining" to "true"

Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.

If you're using a broadband connection you'll load pages MUCH faster now!


[/ QUOTE ]

this is the web page (http://forevergeek.com/open_source/make_firefox_faster.php) that I downloaded this tweak from by the way. Enjoy

mushi /images/graemlins/spade.gif /images/graemlins/spade.gif /images/graemlins/spade.gif

[/ QUOTE ]

Wow, now I can J/O even faster!!! /images/graemlins/blush.gif

IsaacW
01-05-2005, 01:38 PM
[ QUOTE ]
It appears that any setting > 8 is actually equal to 8.

[/ QUOTE ]
As in, Firefox caps it at 8 (but my browser and I are the only two players left /images/graemlins/tongue.gif)? Or is it just that most pages don't have more than 8 elements to download anyways?

If the former, that's a relief, because this could cause some major problems for adserver.conjelco.com if all of 2+2's Firefox users started loading all the ads 30 at a time /images/graemlins/grin.gif

Muisyle
01-05-2005, 01:40 PM
These settings violate the HTTP protocol, and give you a speed boost by flooding the web server with 20-something connections for every single image and page request. There's a reason that they're not the default.

These settings will not only cause many web servers to have problems, but they can also make your web browser be mistaken for a flood attack, which will make the server add your IP to an "ignore" list. Stay away from these "optimized" settings, unless you know exactly what they do and how they work.

RollaJ
01-05-2005, 09:29 PM
[ QUOTE ]
These settings violate the HTTP protocol, and give you a speed boost by flooding the web server with 20-something connections for every single image and page request

[/ QUOTE ]

Sounds good to me

rusty JEDI
01-09-2005, 12:14 AM
[ QUOTE ]
These settings violate the HTTP protocol, and give you a speed boost by flooding the web server with 20-something connections for every single image and page request. There's a reason that they're not the default.

These settings will not only cause many web servers to have problems, but they can also make your web browser be mistaken for a flood attack, which will make the server add your IP to an "ignore" list. Stay away from these "optimized" settings, unless you know exactly what they do and how they work.

[/ QUOTE ]


Has anyone encountered any problems like this?

Thanks

rJ

theTourne
03-03-2005, 01:44 AM
[ QUOTE ]
3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.

[/ QUOTE ]

Is there a way to reverse step 3? What was the default?

Thanks for the tips.

Timer
03-03-2005, 03:40 AM
[ QUOTE ]
I was under the impression that I should post this here. Can you please direct me to the correct foroum, I will post it there instead.

mushi /images/graemlins/spade.gif /images/graemlins/spade.gif /images/graemlins/spade.gif

[/ QUOTE ]

Why wouldn't you post this here? I'm glad you did post it here. This forum is like a website unto itself. It's somewhat self-contained.

Will these setting changes work for dial-up as well as broadband?

Graham
03-03-2005, 04:45 PM
</font><blockquote><font class="small">En réponse à:</font><hr />
Has anyone encountered any problems like this?

Thanks

rJ

[/ QUOTE ]


I did this and now I can't access Neteller or my gmail acct's. They get refused by the server. Dunno if it's related but it might be. I went back and undid the changes, but still can't get through.

Maybe if I unhook my machine from teh internet for a coupla days, my rrunner provider will give me a different isp # when I log back. Anyone know if that might work?

Burno
03-03-2005, 06:24 PM
[ QUOTE ]


I did this and now I can't access Neteller or my gmail acct's. They get refused by the server. Dunno if it's related but it might be. I went back and undid the changes, but still can't get through.

Maybe if I unhook my machine from teh internet for a coupla days, my rrunner provider will give me a different isp # when I log back. Anyone know if that might work?

[/ QUOTE ]

Bump. I think this is a legitimate concern for all of us. Any update? Anyone else?

Muisyle
03-03-2005, 07:02 PM
[ QUOTE ]
[ QUOTE ]
Has anyone encountered any problems like this?

Thanks

rJ

[/ QUOTE ]


I did this and now I can't access Neteller or my gmail acct's. They get refused by the server. Dunno if it's related but it might be. I went back and undid the changes, but still can't get through.


[/ QUOTE ]

DING DING DING, WE HAVE A WINNER LADIES AND GENTLEMEN!

BottlesOf
03-03-2005, 07:15 PM
I made these changes and have no problem with NEteller.

Jim T
03-03-2005, 07:52 PM
[ QUOTE ]
I made these changes and have no problem with NEteller.

[/ QUOTE ]

Stosh
03-03-2005, 10:34 PM
Will this work with dial-up? 'Stosh

tylerdurden
03-03-2005, 10:51 PM
[ QUOTE ]
Will this work with dial-up? 'Stosh

[/ QUOTE ]

It's a bad idea to do this with dialup. You'll bottleneck too easily. I don't do it on my laptop because I travel a lot and never know how much bandwidth I will have from day to day.

morgant
03-03-2005, 11:58 PM
k, i did this.......tytytytytty

this may not be ff related, but for the past two weeks, whenever i was loading pages they were timing out a lot, like every third page i was loading, reloading the page worked almost everytime, especially the 2p2 forums...? any geeks have an idea why?

Brainwalter
03-04-2005, 02:22 AM
Because you touch yourself at night.

rusty JEDI
03-04-2005, 02:28 AM
[ QUOTE ]
k, i did this.......tytytytytty

this may not be ff related, but for the past two weeks, whenever i was loading pages they were timing out a lot, like every third page i was loading, reloading the page worked almost everytime, especially the 2p2 forums...? any geeks have an idea why?

[/ QUOTE ]

I have not changed my settings but i have also been having lots of timeout issues.

rJ

waffle
03-04-2005, 02:30 AM
I don't see a reason to avoid turning on pipelining on a dialup. The benefit of pipelining mainly comes from reducing the effect of latency on a long number of sequential requests... Remember, we're talking about pipelining, not concurrent connections.

I do recommend against changing initialpaint on the dialup though.

morgant
03-04-2005, 02:51 AM
so your ff timesout too?

mmbt0ne
03-28-2005, 04:01 PM
</font><blockquote><font class="small">En réponse à:</font><hr />

Has anyone encountered any problems like this?

Thanks

rJ

[/ QUOTE ]

Just a shameless bump because, while I haven't had problems like this, I'm having other problems, and wondering if they might be related. My problems are as follows:

A) iGM sites hate cashing me out. I don't understand, but any time I try to cashout normally I get an error about my bank account number being incorrect even though I'm going to NETeller. I have to copy/paste the cashout screen address into firefox, where some of the options disappear, but then it works. However, this is only a fix for PayPro. If I'm on one of their casinos, I have to e-mail the ezEcash people everytime I want a cashout.

B) Other casino software won't work. I'm not gonna go dishing out the names, but for all you whores, you know those casinos where when you sign in you have to watch those lame ass little movies? Also, it's the ones that are so nice as to switch your desktop resolution. Well, to actually sign up, you click 'Connect' and then on some link saying something like "Become a REAL money player." I think that's it, but I don't know for sure because EVEY TIME I CLICK ON CONNECT I GET A GOD DAMN BLANK SCREEN!!! All of the casino's buttons are there as usual, but on the browser-type screen it's just a solid background. No links. No nothing.
If I click 'Back to Game Lobby' the sign-in box comes up, and I can click on a button about becoming a real player there, but the same problem occus. Blank background, no links.

Seriously, I uninstalled/reinstalled firefox. I ran the programs when I didn't even have ff on my computer. I did it with and without my firewall turned on. I'm completely lost.

mmbt0ne
03-28-2005, 04:06 PM
Ok, more information. So, I'm installing shockwave, and it works, and then it opens an IE window. Suddenly, a windows security thing pops up on my IE window (never seen that before, but I never use IE). It says, "Your security settings do not allow Web sites to use ActiveX controls installed on your computer. This page may not display correctly. Click here for options..."

Well, I clicked there for options, and of course, there weren't any options, just the bullshit help page. Could the ActiveX mess be causing me problems? Is there a way to fix it?

theTourne
03-28-2005, 07:25 PM
[ QUOTE ]
Quote:
--------------------------------------------------------------------------------

3. Lastly right-click anywhere and select New-&gt; Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.


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



Is there a way to reverse step 3? What was the default?

[/ QUOTE ]

I'm glad this thread was bumped. I still want to reverse step 3. It takes forever for my Firefox to fully load pages with a lot of images. When I test it against IE the difference is huge. Is there a way to undo this? Set the integer to a non zero number? I tried uninstalling, but it didn't seem to work. Maybe I'll try that again and make sure to delete all registry keys, etc?

Any help would be appreciated. Thanks.

mmbt0ne
03-28-2005, 09:37 PM
And no one has answers either, which is what worries me the most. I hope everyone is reading through this thread before they go effing around with the default settings.

Pinga
03-29-2005, 09:42 AM
[ QUOTE ]
And no one has answers either, which is what worries me the most. I hope everyone is reading through this thread before they go effing around with the default settings.

[/ QUOTE ]

Close Firefox.
Start-&gt;Run notepad
File-&gt;Open
c:\Documents and Settings\&lt;your name&gt;\Application Data\Mozilla\Firefox\Profiles\default\*\prefs.js
Remove entries as desired.

I'm not sure but I suspect removing firefox from your pc is leaving the settings behind and you are getting them back at reinstallation time. Just a guess. Remove and search for prefs.js

Mmbt:
Open IE.
Tools-&gt;Internet options
Security
Internet
Custom Level
Change anything with activeX to prompt.

Blarg
05-31-2005, 02:28 PM
bump

grimel
06-01-2005, 01:31 AM
Shouldn't make much of a difference. Dial-up can't handle the data through put.

keikiwai
06-01-2005, 02:06 AM
Holy crapola! It really seems to work. Thanks! for posting in this forum, otherwise I wouldn't have read it /images/graemlins/tongue.gif We'll see if I keep the settings... All the banned from Neteller stuff seems worrisome....
Peter.

keikiwai
06-01-2005, 02:19 AM
Load up about:config again and scroll down to nglayout.initialpaint.delay

Now right click on it and select reset.

Not an expert, but this seems to set everything back to default.

grimel
06-01-2005, 02:37 AM
Banned from Neteller? How? Why? It isn't because of this. Neteller works just fine with these changes.

NoDamage
06-01-2005, 04:47 AM
[ QUOTE ]
These settings violate the HTTP protocol, and give you a speed boost by flooding the web server with 20-something connections for every single image and page request. There's a reason that they're not the default.

These settings will not only cause many web servers to have problems, but they can also make your web browser be mistaken for a flood attack, which will make the server add your IP to an "ignore" list. Stay away from these "optimized" settings, unless you know exactly what they do and how they work.

[/ QUOTE ]Nope, what you said is incorrect. You are confusing pipelining tweaks with max connection tweaks. There is in fact absolutely nothing wrong with enabling pipelining and it is intentionally designed as part of the HTTP/1.1 spec as a method of increasing performance, and is the default mode for HTTP. As long as the HTTP server you are connecting to supports HTTP/1.1, there should be no problem with pipelining.

What you are thinking about is increasing the values of max-connections-per-server and max-persistent-connections-per-server. Increasing these beyond their default values is a violation of the HTTP specification, and also contrary to what people may think, it actually decreases performance.

To understand why, you have to understand the difference between HTTP/1.0 and HTTP/1.1. HTTP/1.0 establishes a separate TCP connection for each object that it retrieves from the HTTP server, and when the object is finished retrieving, it closes the TCP connection. This means for every object that must be downloaded, a TCP connection must be established and closed, and the exchange between the client and server looks something like this:
<font class="small">Code:</font><hr /><pre>Client Server
Establish TCP connection -&gt;
&lt;- TCP connection established
HTTP - Request first object -&gt;
&lt;- HTTP - Send first object
&lt;- TCP connection closed
Establish TCP connection -&gt;
&lt;- TCP connection established
HTTP - Request second object -&gt;
&lt;- HTTP - Send second object
&lt;- TCP connection closed
Establish TCP connection -&gt;
&lt;- TCP connection established
HTTP - Request third object -&gt;
&lt;- HTTP - Send third object
&lt;- TCP connection closed</pre><hr />Clearly this decreases performance because each object incurs extra TCP overhead in establishing and closing the connection for each object.

On the other hand, HTTP/1.1 supports both persistent connections and pipelining, which are meant to increase performance. With persistent connections, only one TCP connection is established for the HTTP session, and it is not closed until all of the objects are done retrieving. This removes the overhead of establishing and closing a TCP connection for each object, but is still not ideal:
<font class="small">Code:</font><hr /><pre>
Client Server
Establish TCP connection -&gt;
&lt;- TCP connection established
HTTP - Request first object -&gt;
&lt;- HTTP - Send first object
HTTP - Request second object -&gt;
&lt;- HTTP - Send second object
HTTP - Request third object -&gt;
&lt;- HTTP - Send third object
&lt;- TCP connection closed
</pre><hr />Under this scheme, the HTTP server needs to finish sending one object before the client can request the next object, so there is some additional delay between the time that the HTTP server finishes sending the first object and when it receives the request for the second object.

Finally, with persistent connections and pipelining, the session is optimized even more, because the client can send multiple requests at once (pipelining them), without waiting for the server to send each object back first:
<font class="small">Code:</font><hr /><pre>
Client Server
Establish TCP connection -&gt;
&lt;- TCP connection established
HTTP - Request first object -&gt;
&lt;- HTTP - Send first object
HTTP - Request second object -&gt;
HTTP - Request third object -&gt;
&lt;- HTTP - Send second object
&lt;- HTTP - Send third object
&lt;- TCP connection closed
</pre><hr />In this scenario one round trip is necessary to retrieve the first object (the HTML file) so the client can figure out what additional objects need to be retrieved, but after that all of the objects can be requested in parallel.

By increasing your number of max connections beyond the default values, you are effectively going back to the HTTP/1.0 scheme of doing things, while the entire purpose of HTTP/1.1 was to come up with a better method of transferring the files that would offer better performance. Additionally, by opening up so many connections, you may end up flooding the web server and increasing the load on it, as well as the extra traffic you generate from opening all of these connections. And indeed, some HTTP servers will drop and ignore additional HTTP connections from the same source or possible even ban your IP for flooding them.

In conclusion, the pipelining tweaks discussed in the first post are perfectly fine, but don't you dare adjust your max-connections!

For more information see here:
http://www.mozilla.org/projects/netlib/http/pipelining-faq.html

axioma
06-01-2005, 06:16 AM
[ QUOTE ]
I made these changes and have no problem with NEteller.

[/ QUOTE ]

Allinlife
06-01-2005, 09:48 AM
crazy. thanks

CrazyN8
06-01-2005, 10:33 AM
there is also an extension that is much easier to run and adjust. I think it does pretty much the same thing....

http://www.bitstorm.org/extensions/

Jim Kuhn
07-17-2005, 06:29 PM
This is amazing how fast FireFox loads!

Thank you,

Jim Kuhn
Catfish4u
/images/graemlins/spade.gif /images/graemlins/diamond.gif /images/graemlins/club.gif /images/graemlins/heart.gif

popniklas
07-17-2005, 07:04 PM
Umm.. this is wierd. After making the changes I cannot acces NETeller. However, I CAN acces Gmail, which I could NOT do with Firefox prior to these changes... very confusing.

Anyway, thanks for the info, it is much faster now. (And I do have Internet Explorer for access to NETeller.)

wonderwes
07-18-2005, 09:22 PM
That might be the issue of a cookie. If it doesn't work, just use IE for Neteller.

Jim Kuhn
12-06-2005, 02:31 AM
This speeds up firefox alot!

CORed
12-06-2005, 02:22 PM
If a web page uses Ative-X controls, it won't work in Firefox. Active-X is the biggest security hole in IE. There is an Active-X plugin for Firefox, but instlling it is likely to negate a lot of the security advantages of using Firefox. If you want to access a site that uses active-x, and trust that site, use IE.

You need to install the Firefox (or Netscape) plugins for Java, Flash and Shockwave. This will probably fix a lot of the problems with sites that don't work.

There are a few sites that just don't wor in Firefox. If you see overlapping text or images, you have probably hit one of them. There are two extensions for Firefox to use IE. One puts an item on your right click menu to open an IE window, the other will run an embedded IE in your firefox window.

Felipe
12-06-2005, 05:17 PM
you should do a search for "fasterfox". It is an extension. But remove the "prefetching" cause it uses a lot of server bandwidth. There is no need to go into about:config with this little extension.

felipe

wonderwes
12-06-2005, 09:11 PM
[ QUOTE ]
you should do a search for "fasterfox". It is an extension. But remove the "prefetching" cause it uses a lot of server bandwidth. There is no need to go into about:config with this little extension.

felipe

[/ QUOTE ]

ty for this suggestion.