Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy

  • Subscribe RSS Feed

    subscribe to the ubuntu Geek RSS feed




  • Sponsor

  • Categories

  • Meta

  • Sponsor

  • Archives



  • WidgetBucks - Trend Watch - WidgetBucks.com

Speed Up Firefox web browser

Posted by admin on January 30th, 2007 Email This Post Email This Post

Mozilla Firefox is a graphical web browser developed by the Mozilla Corporation. Started as a fork of the browser component (Navigator) of the Mozilla Application Suite, Firefox has replaced the Mozilla Suite as the flagship product of the Mozilla project, stewarded by the Mozilla Foundation and a large community of external contributors.

Mozilla Firefox is a cross-platform browser, providing support for various versions of Microsoft Windows, Mac OS X, and Linux. Although not officially released for certain operating systems, the freely available source code works for many other operating systems, including FreeBSD,OS/2, Solaris, SkyOS, BeOS and more recently, Windows XP Professional x64 Edition.

I am providing some Very Useful Tips to speedup your Firefox.

In your location bar, type about:config

Once it Opens You should see similar to the following screen

Tip1

In the filter bar type network.http.pipelining

You should see the following screen

Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.

Tip2

In the filter bar again and type network.http.pipelining.maxrequests

Once it Opens You should see the following screen

Default it says 4 under value field and you need to change it to 8

Once you finished this you should see the following screen.

Tip3

Go to the filter bar again and type network.http.proxy.pipelining

Once it Opens You should see similar to the following screen

Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.

Tip4

Go to the filter bar again and type network.dns.disableIPv6

Once it Opens You should see the following screen

Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.

Tip5

Go to the filter bar again and type plugin.expose_full_path

Once it Opens You should see the following screen

Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.

Tip6

Now you need to Create new Preference name with interger value for this got to Right click -> New -> Integer

Once it opens you should see the following screen

Here you need to type nglayout.initialpaint.delay and click ok

Now you need to enter 0 in value filed and click ok

Once you finished this you should see the following screen.

Tip7

Now you need to Create one more Preference name with interger value for this got to Right click -> New -> Integer

Once it opens you should see the following screen

Here you need to type content.notify.backoffcount and click ok

Now you need to enter 5 in value filed and click ok

Once you finished this you should see the following screen.

Tip8

Now you need to Create one more Preference name with interger value for this got to Right click -> New -> Integer

Once it opens you should see the following screen

Here you need to type ui.submenuDelay and click ok

Now you need to enter 0 in value filed and click ok

Once you finished this you should see the following screen.

Some more Tweaks

Enable the spellchecker for inputfields and textareas (default is textareas only)

layout.spellcheckDefault=2

Open lastfm://-links directly in amarok

network.protocol-handler.app.lastfm=amarok
network.protocol-handler.external.lastfm=true
Firefox Memory Leak Fix

Open a new tab. Type “about:config” without quotes into the address bar and hit enter/click Go.

Right-click anywhere, select New, then Integer. In the dialog prompt that appears, type:

browser.cache.memory.capacity

Click OK. Another dialog prompt will appear. This is where you decide how much memory to allocate to Firefox. This depends on how much RAM your computer has, but generally you don’t want to allocate too little (under 8MB), but if you allocate too much, you might as well not do this. A good recommended setting is 16MB. If you want 16MB, enter this value into the dialog prompt:

16384

(Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes. Likewise, if you want to double that and allocate 32MB, you’d enter 32768.)

Click OK to close the dialog box, then close all instances of Firefox and restart. If your Firefox still uses the same amount of memory, give it a few minutes and it should slowly clear up. If that fails, try a system reboot.

Now your Firefox will now be 3 - 30 times faster in loading pages.

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

56 Responses to “Speed Up Firefox web browser”

  1. DExpl Says:

    Would you be so kind to clarify the meaning of tips 5 to 8? Thanx

  2. admin Says:

    here you go

    Tip5

    plugin.expose_full_path

    show full path to plugins in about:plugins.

    Tip6

    nglayout.initialpaint.delay

    time to wait before an initial reflow attempt during page rendering

    Tip7

    content.notify.backoffcount

    number of initial reflows during timer-based rendering After this number the page is only reflowed when the calculation of the layout of larger parts of the page is finalized

    Tip8

    ui.submenuDelay

    delay the time a menu takes to open a sub-menu

    I hope this helps you

  3. Mike Says:

    Or you can do the simple route and download fasterfox. http://fasterfox.mozdev.org/
    https://addons.mozilla.org/firefox/1269/

  4. Patrick Mylund Nielsen Says:

    Yeah. Fasterfox does all of this, and more, pretty much out of the box :-)

  5. Nick Says:

    Good post!

  6. BillyG Says:

    Hi. I’ve been using FF exclusively since ‘05 and have of course used most of these tweaks before.

    After loading an extension last week which corrupted my profile (I think it was called Load Time Analyzer - I left a msg), I completely uninstalled and wiped all traces of Mozilla and Firefox from my box (folders, registry), rebooted and reloaded it. I neglected the normal tweaks only because I forgot about them (so I’m glad I came across this post for a reminder.

    Getting to the point, I figured this would be a good test of the aforementioned ‘Fasterfox has all this already” statement. btw: I’ve had that loaded in the past but read that it produced memory leaks in FF so I deleted it - guess I’ll find out now!

    WRT this new FF install, here’s how the tweaks above broke down with Fasterfox now loaded too:

    1-3 = above changes existed
    4, 5 = needed to be manually set (meaning Fasterfox DID NOT change them)
    6 = I already had in place ??? (maybe I did set that one after the reinstall but I’m 99.9% I didn’t else I would’ve set all the other tweaks at the same time).
    7 = I didn’t have this one but I never heard of it before either.
    8 = I had this, it was set to 50, I changed it to 0 as noted.

    I’m still MCE only (not Ubuntu) but don’t think FF cares, guess I’ll find out now.

    YMMV G/L

  7. BillyG Says:

    Just wanted to report back: all is good.

  8. Balakumar Muthu Says:

    Great tips, thanks for sharing :)

  9. Kerry_s Says:

    You forgot 1

    content.notify.backoffcount

    * content.notify.ontimer must be set to true for this preference to take effect.

    -> http://kb.mozillazine.org/Content.notify.backoffcount

  10. Kerry_s Says:

    By the way you should just drop->

    content.notify.backoffcount
    content.notify.ontimer

    and go with

    integer
    content.maxtextrun
    5000

    instead, it’s alot faster.

    I’d also throw in->

    network.ftp.idleConnectionTimeout 60
    network.http.keep-alive.timeout 30

    so it’s not locked just waiting for a reply from a slow site, or keeping a connection to a site your done with.

  11. Dwayne Says:

    What are the units on all those delays and timeouts?

  12. bluepwrdup Says:

    Well done tuit !
    Check out this kewl site to measure webpage loading speed before and after tweaking about:config. Clear FF cache prior to testing. Also, this site provides testing of download / upload / websurfing speed. http://www.numion.com/stopwatch/

  13. aen Says:

    prima war firefox wie ein flugzeug,dankeschön

  14. Robbert Says:

    Awesome tips dude !

    I tried it and indeed my firefox is way faster. Btw this works on every machine running FF not only ubuntu.

    Robbert

  15. 1c3d0g Says:

    $11: they’re in seconds, and some, like the sub-menu delay, are in milliseconds. :-)

  16. DJM Says:

    BTW, computers count in binary, e.g. Base-2 … not Base-12 !! But I guess this was just a typo up there? ;-)

  17. Bert-Jan Says:

    These tips work great on FF for Windows too (thank you !) except for the memory leak fix. I’ve set it to 16384 a few days ago but after a day’s use it still takes up over 114MB memory, like it normally does.
    What I do find interesting is the disk cache capacity which is set to 50000 by default and not 51200. Why should it need multiples of 1024 for the memory capacity setting ?

  18. garid Says:

    hi thank’s all

  19. eric Says:

    Dude thank you so much, FireFox was sucking on Ubuntu 6.06, these tweaks make it fly!!!

  20. firefoxer Says:

    Good,Download Firefox BLogWe Got You Archives in My blog,Thank’s

  21. Jason Says:

    thanks good tip…

  22. mydeskblog.com Says:

    Dude (or dudette), thanks for the tips! My FF browser is loading pages much faster now.

  23. pako Says:

    do u need to restart firefox?:D

  24. SEO Pakistan Says:

    Superb! Great tweaks! I really needed to improve browsing & download speeds on my broadband connection. Thanks!

  25. Beryl-Man Says:

    Thanks for the tips. They all seem to work (I guess) except for the memory leak. Firefox is up to 105meg after a few hours. Pesky…

  26. DocFatty Says:

    woo hoo works great, thought I knew it all lol

  27. Munra Says:

    Hello

    Thaks for the tweaks.

    For the step 7 –> content.notify.backoffcount. is necessary add content.notify. ontimer that it’s another entries in about:config that you have to create like Boolean with a Value of True.
    This tip is for the page of mozillazine dot org.

  28. cranky filipino Says:

    thanks for the tweaks.. except for the fact you kept on typing “interger” instead of “integer” a lot. great work1 hehe.. and I tried that guys tip in post #10.. works great.. thanks all..

  29. boobbat Says:

    Above settings has disabled my Adblock and Adblock Plus addons. How do I re-enable these?

    Also please clarify the spellchecker tweak (amorak). Do you set up another integer value for these last 2? Do you leave it at 0?

    If I don’t like these tweaks, how to reset to default?

  30. Damian Matty Says:

    Wow good stuff. This is the best article i have come across on tweaking firefox in ubuntu.

    Keep up the good work and allow the OpenSource community to grow.

    OpenSource baby just love it!!!!!!!!!!!!!!!!!!

  31. david Says:

    just a little question,where i work the it department has put a web browser proxy killer download on some of the network computers,how do i get around this problem so we can start browsing in the internet again

  32. caveman Says:

    holy crap! This works great! The memory cache tip was one I hadn’t heard about before. Will definitely have to try that out on my memory-sieve Windows laptop at work on Monday.

  33. bentoy Says:

    thanx for the tips. keep rockin `en happy browsing :-)

  34. deadpoeticstar Says:

    Fasterfox has memory leaks so its best if you went with these suggestions which are totally awesome and ill do this for my FF at home which is on a mac

  35. Mustaqeem Adam Says:

    Are all of this tips safe? are there any side effects? is there any memory leak?

  36. diaz Says:

    I added content.max.tokenizing.time but accidentally hit boolean instead of integer now i have two of these entry’s in the about:config. how do i deleted them and adde the correct integer instead?

  37. Ganesh Says:

    Some more Tweaks

    Enable the spellchecker for inputfields and textareas (default is textareas only)

    layout.spellcheckDefault=2

    Open lastfm://-links directly in amarok

    network.protocol-handler.app.lastfm=amarok
    network.protocol-handler.external.lastfm=true
    Firefox Memory Leak Fix

    Open a new tab. Type “about:config” without quotes into the address bar and hit enter/click Go.

  38. Ganesh Says:

    I didn’t understand from here .. [:o]

  39. jj Says:

    Add to the above tips DNSMasq per http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html (it adds local DNS to your PC) and you can also save DNS lookup time for web sites your visit repeatedly. Now you have a Firefox rocketsled!

  40. jj Says:

    Thank you for sharing these tweaks. If I may suggest the post could be a little clearer at point # 6 where I think you mean to open a new tab and enter about:config and then scroll down to network-protocol-handler.external.ms-help. Same with point #8. Thanks again.

  41. Hamra Says:

    can somebody tell me if the huge memory consumption works on windows? it seems that some ppl didnt succeed at this, thnx

  42. sisto Says:

    This is really a bummer. You would expect it to be like this right out of the box, and not have to spend hours changing it, every time you install firefox.

  43. 搬屋 Says:

    Thanks to this article, thanks to member responses, I was able to find a solution to the problems that people suffering them.

  44. sweetpea Says:

    I’m lost at the last part at some more tweaks as well. How to enable the spellcheker and what do I need to do for this command “open lastfm://-links directly in amarok? So, I’m stopping at that point. Could you please explain a little bit.
    Thanks,

  45. tobs Says:

    Can the about: config file be saved so that you just reload it with all the tweaks

    thanks

  46. Scott Severance Says:

    Thanks for this list. However, it would have saved me time Googling if you would have described what each setting does. After all was done, I noticed that you did post a small explanation in the comments, but why not put it in the actual post were people will see and benefit from it?

    I was also curious about why you used WinXP for screenshots on an Ubuntu blog.

  47. Den Says:

    Anybody tried this on Firefox 3 beta 5?

  48. Milos Says:

    Your tips to speed up Firefox are very useful.

    Thanks.

  49. Oliver Says:

    I’ve been using the new Firefox 3 beta that came with Ubuntu Hardy Heron. I’ve got 2gb of RAM so I changed the memory cache to 102400.

    This is because when I put

    about:cache

    in the address bar it showed it was using more memory than I had available! It’s made a huge difference to page loading (along with all the other tweaks). Thanks!!

  50. jason Says:

    alot of these tweaks only apply to FF 2 and not 3

  51. noah Says:

    yeay it is faster but it stuffed up my gmail.
    it is in a very little box on the left top conner, how do i fix it.

    and youtube stuffed up a bit the same to 1/2 of the time.

  52. rxs2k5 Says:

    Firefox 3.0 works on this too… because the internal development Gecko being upgraded to 1.9 therefore they are using the same engine… just that 1.9 have numerous fixes that resolve memory leaks and improve alot of security issues… + stability

  53. Miss J Says:

    Ding ding dang a-dang a-long ling long! Jesus built my hotrod!

    I checked my speed on that stopwatch site before doing the tweaks, and afterwards it was TWICE as fast. The difference is VERY noticeable as I browse around. Now I feel like the price I pay for DSL is justified. Thank you, thank you, THANK YOU!!

  54. SUperDoer Says:

    thanks 1000 times. its 1000 times faster.
    very noticeable, without stopwatch, , ,
    click>boom.ready

  55. camrail Says:

    WOW thank-you so muck, It worked for me like a charm

  56. Punkforeveryone Says:

    Does these tweaks still work for Firefox 3?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>