UbuntuHelp:UbuntuLTSP/Firefox3Optimize
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This page is specific to Ubuntu versions 8.04 |
If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.
This page is dedicated to optimizing Firefox 3.x in LTSP/Multi-user environments. It seems that Firefox 3.x development is focussed more on single-user setups than multi-user networks, especially LTSP type environments. Luckily, there are a few things you can do to make it run better under LTSP, by editing the following file (please note that these options have not been fully tested, but the instances where they were showed noticeable improvement in LTSP environments): /etc/firefox-3.0/pref/firefox.js:
// Disable "safe browsing" feature that hogs CPU, HDD, etc. etc. in LTSP pref("browser.safebrowsing.enabled", false); pref("browser.safebrowsing.malware.enabled", false); // Disable "location-bar suggestion" feature that is sludgy with thin-clients pref("browser.urlbar.maxRichResults", 0); // Disable offline/disk caching of web pages - good if you have a central proxy pref("browser.cache.offline.enable", false); pref("browser.cache.disk.enable", false);
There are also some great ways to customize Firefox behavior all around for specific environments - here are some good ones, but you can check out http://kb.mozillazine.org/About:config_entries for a complete list..
// Disable password manager pref("signon.rememberSignons", false); // Disable session restore - useful when users log out without closing Firefox first - saves server // CPU, memory and bandwidth when they restart Firefox and open up lots of tabs from previous session pref("browser.sessionrestore.enabled", false);
2009-02-03 Jordan Erickson: You also might want to take a look at http://lns.wikidot.com/nsprupdate if you are having trouble launching Firefox 3 with more than a few users at a time. please remove this message once nspr has been updated in the official repos