Slashdot Mirror


The Secrets of Firefox about:config

jcatcw writes "While Firefox is very customizable, many of its settings aren't in the Options. Each setting is named and stored as a string, integer, or Boolean in a file called prefs.js and accessed via about:config from the nav bar. Computerworld provides instructions on 20 tweaks for speeding up page loads, making tabs behave, reducing memory drain, and generally making the interface act the way you want it to. Customization also comes through the must-have FF extensions (but be sure to skip these)."

28 of 263 comments (clear)

  1. While it's nice.. by microbee · · Score: 5, Insightful

    Do not tune stuff that is hidden unless you know what you are doing.

    1. Re:While it's nice.. by Anonymous Coward · · Score: 5, Informative

      I particularly love the "pipelining" part. Send requests before getting valid acknowledgments from previous requests. ...

      It's rude, annoying and breaks the rules/protocol.


      From RFC 2616 (HTTP/1.1) section 8.1.1:

      HTTP requests and responses can be pipelined on a connection. Pipelining allows a client to make multiple requests without waiting for each response, allowing a single TCP connection to be used much more efficiently, with much lower elapsed time.

    2. Re:While it's nice.. by maxume · · Score: 4, Informative

      It isn't faster for everybody, it doesn't work with all servers...

      --
      Nerd rage is the funniest rage.
    3. Re:While it's nice.. by SailorFrag · · Score: 4, Informative

      This is a tactic spammers use with mail servers. It's rude, annoying and breaks the rules/protocol.

      RFC 2920 is the SMTP extension for pipelining. Pipelining is a perfectly valid strategy to reduce the time it takes to send mail by reducing the number of round-trips.

      What's rude is violating the RFC that says that certain round-trips are required and the spammers tend to violate those rules (such as asking if a message body can be sent before actually sending it, and waiting for the server's introduction message before the client introduces itself). Pipelining itself is actually quite good.

      I won't comment on HTTP pipelining because someone else did already.

    4. Re:While it's nice.. by smittyoneeach · · Score: 5, Interesting

      http://subversion.tigris.org/faq.html#in-place-imp ort
      Install Subversion, and use it on your config files.
      Subversion: it's not just for projects anymore.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    5. Re:While it's nice.. by jesser · · Score: 4, Informative

      If it's valid behavior according to the protocol, and it's faster, and it's not bad nettiquette, then why, pray tell, isn't it on by default?

      Because some servers violate the protocol by responding incorrectly to pipelined requests. At least, that was the reason 2 years ago.

      --
      The shareholder is always right.
    6. Re:While it's nice.. by hahafaha · · Score: 5, Insightful

      So if these options really make pages load faster, offer less memory drain, and even feed the dog, why aren't they a part of the settings to begin with?
      Basically, because, although they may give more speed, they have drawbacks as well. Your question is like asking, ``If people can overclock their processors to so much faster, why isn't it overclocked by default?''
    7. Re:While it's nice.. by RobertM1968 · · Score: 4, Insightful

      Why? He's 100% right! Just follow the instructions and you are all set with no chance of there being problems. You see, the instructions on that web page clearly state in bold letters: "Keep a log of everything you change, or make backups."

      So, either:

      • Firefox acts weird or doesnt run at all, and you restore prefs.js from backup and have no problems
      • or it worsens performance, and you restore from backup and have no problems
      • or it improves performance and you happily surf away and have no problems

      So, because he is correct, he's a fanboy? With IE, you run the possibility of having to do much more than restore a preferences file if you hose something. With Firefox, if you follow the instructions (and something goes wrong), it takes you a few extra seconds to restore the file to original state and "nothing major" happens (other than a wasted few minutes in total trying the tweaks).

      So, if he's a fanboy, what does that make you? Just curious.

  2. Extensions to Avoid? by CharAznable · · Score: 4, Insightful

    I thought we agreed that ComputerWorld article was mostly crap...

    --
    The perfect sig is a lot like silence, only louder
  3. Tabs by rustalot42684 · · Score: 5, Funny

    In Soviet Russia, Firefox keeps tabs on YOU!

  4. link to one page article by maj1k · · Score: 5, Informative
  5. Re:I just want by Fry-kun · · Score: 4, Informative

    try this setting:
    browser.xul.error_pages.enabled

    set it to "true"

    --
    Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"?
  6. Foons! by SimonTheSoundMan · · Score: 5, Informative

    Well, a lot of these "tweaks" will have negative effects.

    Example: nglayout.initialpaint.delay as 0. This will slow rendering of the page as it causes reflows. Fools.

    1. Re:Foons! by daeg · · Score: 4, Informative

      Opera has sensible pipelining defaults. Most "Firefox tip" articles have you set them to values that when combined with other network settings makes your browser appear like a misbehaving robot, proxy, or hacking attempt. Firefox with sensible values doesn't get blocked.

    2. Re:Foons! by MedicinalMan · · Score: 4, Informative
      Damn right. Here's what mozilla says about nglayout.initialpaint.delay

      Lower values will make a page initially display more quickly, but will make the page take longer to finish rendering. Higher values will have the opposite effect.
  7. A bigger question by DoofusOfDeath · · Score: 4, Insightful

    Is why useful tweaks are hidden behind and obscure and risky-to-use interface like about:config. If the tweaks are worth doing, shouldn't they have first-class support in the main configuration GUI?

    1. Re:A bigger question by jj110888 · · Score: 5, Interesting

      Perhaps these tweaks are hidden because they are *not* worth doing?

    2. Re:A bigger question by leathered · · Score: 5, Funny

      Listen sonny, as a network admin I perform 'miracles' every day with a CLI and hidden options in config files. It impresses the PHBs, earns respect and keeps my salary up. And now you want to further trivialise my job with more GUI options. Oh for the good old days when all we had were ones and zeroes.

      --
      For all intensive porpoises your a bunch of rediculous loosers
    3. Re: A bigger question by Black+Parrot · · Score: 4, Insightful

      Is why useful tweaks are hidden behind and obscure and risky-to-use interface like about:config. If the tweaks are worth doing, shouldn't they have first-class support in the main configuration GUI? One philosophy is to nanny the unwashed masses away from "advanced" options. A second is that there's not a lot of reasons to support every possible option in a UI, especially if some of them are rarely used.

      FWIW, I used to change some stuff and it would be back to the default next time I started the broweser. Ditto if I changed it in the config file. It finally took when I changed it in the GNOME configuration manager; I guess it was masking the application-specific configs.
      --
      Sheesh, evil *and* a jerk. -- Jade
  8. official mozilla reference by wizardforce · · Score: 5, Informative
    --
    Sigs are too short to say anything truly profound so read the above post instead.
  9. Why aren't these real options? by Sigma+7 · · Score: 4, Insightful

    Some of these tweaks cut down on memory usage. Given that there are still plenty of computers with 512MB of ram (e.g. notebook computers), you don't want applications pinning 100% CPU or memory as it slows down the rest of the system. This is more important with notebook computers, since a second lost through CPU usage or hard drive thrashing is a second lost from battery charge.

    The notebook I'm using right now has this amount of memory, and was easily available in stores 1 year ago. Last time I checked, a web browser should never require the absolute latest system for day-to-day operations (which include having another application in the background, such as a word processor or even MSVC 2005.)

  10. The Art of Performance Tuning -- a Fable by sillivalley · · Score: 5, Funny

    A long time ago, when computers remembered using little donuts made of rust, I worked on on a mainframe computer system (CP/V) that supported batch, timesharing, realtime, the works. It had performance monitoring tools, and a large basketload of parameters for sys admins to twiddle.

    One of our favorite parameters was SL:BB, documented as batch bias, an input to the process scheduler. When someone called or wrote to us saying they were having problems with performance tuning, we usually suggested they redo their tests varying the setting of SL:BB and let us know what happened. Try different values, 0, 1, 5, 20, 50, 100, things like that. Try it and get back to us.

    And lo, they would go off and redo performance runs, and report back.

    And we would collect their results and go and muse over them, usually over beer.

    SL:BB told us a lot about the user, because SL:BB was a knob that wasn't connected to anything. Oh, the value was range-checked by the parameter setting tool, and dutifully stored in memory, and displayed on performance displays, but it didn't change system performance in any way at all.

    That's not what the documentation said, but who believes documentation? We had plans for SL:BB, we just hadn't gotten around to writing the code yet.

    So if the user reported that setting SL:BB to 25, but not 24 or 26 gave them incredibly better (or worse) results, we definitely factored that into our analysis.

    Those that reported back that the setting of SL:BB didn't make a damn bit of difference, and there were some, we honored as brothers, took into our confidences, and shared beer with at the soonest opportunity. Their bug reports and feature requests received far more attention, for they had passed an important test.

    And how many of these Firefox parameters are like SL:BB?

  11. Re:Which option to make the Firehose work again? by larry+bagina · · Score: 5, Funny

    set org.slashdot.dont_make_changes_on_the_live_server_ yes_im_talking_to_you_cmdrtaco=1

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  12. Hacking Firefox by Dominare · · Score: 5, Insightful

    Gah. Why is it that these people insist on calling anything not found on the main options page "hacking"? As for the above questions - usually the reason things like that are 'hidden' is to stop people fiddling with them. A good example is the old 'coolbits' entry in the registry for nVidia cards - the overclocking functionality was there, but you had to do something non-standard to enable it. That way, the company's ass is covered if you melt your card; you can't pretend you enabled the options accidentally. Since Firefox is free and nobody is paying tech-support, I'm not sure why these things aren't available - but the fact of the matter is, anyone messing around with fundamental parameters should _not_ be the kind of person who lets random articles on the internet tell them what to change.

  13. Thunderbird also... by thejuggler · · Score: 4, Informative

    You can configure many settings in Thunderbird using a similar interface. However, in Thunderbird you can get to the config section from the Options menu Advanced tab. I have reduced the size of the attachment icons this way. set mailnews.attachments.display.largeView to False.

  14. Re:Still can't turn off favicons in the bookmark m by Dracos · · Score: 4, Informative

    In Firefox 2.0.3, I opened up the DOM inspector, chose the main window, and started drilling down in to the element tree: I found the icons which you loathe.

    Open up userChrome.css (in your profile: [profile dir]/chrome/).

    In it, the following CSS rule should work to hide the icons:

    .bookmark-item > .menu-iconic-left > image { display: none; }

    (This selector appears in chrome://browser/skin/browser.css, if you know where that is).

  15. Re:I just want by jonasj · · Score: 4, Insightful

    If it can't find it in DNS, I want it to return a 404


    404 is an HTTP status code. If firefox cannot find the server you want to connect to, where do you want that 404 to come from?
    --
    You know, Microsoft's street address also says a lot about their mentality.
  16. Re:Hidden slashdot tweaks THEY don't want you to k by Dogtanian · · Score: 4, Funny

    For instance, you can set the comment threshold HIGHER than 5 by editing the number after "threshold=" It works the other way too; you can set the threshold to -2 or lower via the URL. Most people never get to see such posts, which is the whole point- you'd be shocked if you knew what was there. Things modded down to -2 include:
    • Secrets of the Illuminati
    • The truth behind the JFK assassination
    • Clear evidence that Steve Jobs is not God, Bill Gates is not the devil and Steve Ballmer is not *actually* a chair-throwing ape
    • Anything linking to Zonk's blackmail pics of Taco and Cowboy Neal
    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).