From Fedora Project Wiki
(Created page with 'Slowness when browsing? * Sometimes your loaded extensions cause your browsing to be slow. Disable them and see if performance improves. * Many of these reference user...')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Slowness when browsing?
= Slowness when browsing? =


    * Sometimes your loaded extensions cause your browsing to be slow. Disable them and see if performance improves.  
* Sometimes your loaded extensions cause your browsing to be slow. Disable them and see if performance improves.


    * Many of these reference user.js [6] but you can use the about:config url as well if you prefer. Using user.js is preferable because Mozilla will not change these settings on your behalf, and you can easily undo them if something goes awry.  
* Mozilla has measured the impact and reported specific slow performing add-ons https://addons.mozilla.org/en-US/firefox/performance/ [https://addons.mozilla.org/en-US/firefox/performance/]


    * Cleanly exit your browser. Go to your profile folder [7]and vacuum your db files
* Many of these reference user.js [http://kb.mozillazine.org/User.js_file] but you can use the about:config url as well if you prefer. Using user.js is preferable because Mozilla will not change these settings on your behalf, and you can easily undo them if something goes awry.


cd $HOME/.mozilla/firefox/*/; for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done
* Cleanly exit your browser. Go to your profile folder [http://kb.mozillazine.org/Profile_folder]and vacuum your db files


    * Disable favicon and site-icon caching. Append do your user.js file: [8] [9]
''cd $HOME/.mozilla/firefox/*/; for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done''


user_pref("browser.chrome.favicons", false);
* Disable favicon and site-icon caching.  Append do your user.js file: [http://kb.mozillazine.org/Browser.chrome.favicons] [http://kb.mozillazine.org/Browser.chrome.site_icons]
user_pref("browser.chrome.site_icons", false);


    * Turn off IPv6. Append to your user.js file: [10]
''user_pref("browser.chrome.favicons", false);''
''user_pref("browser.chrome.site_icons", false);''


user_pref("network.dns.disableIPv6", true);
* Turn off IPv6.  Append to your user.js file: [http://kb.mozillazine.org/Network.dns.disableIPv6]


    * Disable dbus notifications within Firefox. Append to your user.js file: [11]
''user_pref("network.dns.disableIPv6", true);''


user_pref("toolkit.networkmanager.disable", true);
* Disable dbus notifications within Firefox.  Append to your user.js file: [http://kb.mozillazine.org/Toolkit.networkmanager.disable]


    * Turn off rich colour support. Append to user.js: [12]
''user_pref("toolkit.networkmanager.disable", true);''


user_pref("gfx.color_management.enabled", false);
* Turn off rich colour support. Append to user.js:  [http://kb.mozillazine.org/Gfx.color_management.enabled]
user_pref("gfx.color_management.mode", 0);


    * Turn off paint delay. Append to user.js: [13]
''user_pref("gfx.color_management.enabled", false);''
''user_pref("gfx.color_management.mode", 0);''


user_pref("nglayout.initialpaint.delay", 0);
* Turn off paint delay. Append to user.js: [http://kb.mozillazine.org/Nglayout.initialpaint.delay]


    * Turn off firefox disk access (SSD option): [14][15][16][17]
''user_pref("nglayout.initialpaint.delay", 0);''


user_pref("browser.cache.disk.enable", false);
* Turn off firefox disk access (SSD option): [http://kb.mozillazine.org/Browser.cache.disk.enable][http://kb.mozillazine.org/Browser.cache.disk.capacity][http://kb.mozillazine.org/Browser.cache.offline.enable][http://kb.mozillazine.org/Browser.cache.memory.enable]
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.offline.enable", false);
user_pref("browser.cache.memory.enable", true);


[edit] Useful usability options
''user_pref("browser.cache.disk.enable", false);''
''user_pref("browser.cache.disk.capacity", 0);''
''user_pref("browser.cache.offline.enable", false);''
''user_pref("browser.cache.memory.enable", true);''


    * Enable form colours. Append to user.js: [18]
= Useful usability options =


user_pref("browser.display.use_focus_colors", true);
* Enable form colours. Append to user.js: [http://kb.mozillazine.org/Browser.display.focus_background_color]
user_pref("browser.display.focus_text_color", "#010101");


    * Disable blink tag. Append to user.js: [19]
''user_pref("browser.display.use_focus_colors", true);''
''user_pref("browser.display.focus_text_color", "#010101");''


user_pref("browser.blink_allowed", false);
* Disable blink tag.  Append to user.js: [http://kb.mozillazine.org/Browser.blink_allowed]
''user_pref("browser.blink_allowed", false);''

Latest revision as of 20:24, 7 May 2011

Slowness when browsing?

  • Sometimes your loaded extensions cause your browsing to be slow. Disable them and see if performance improves.
  • Many of these reference user.js [2] but you can use the about:config url as well if you prefer. Using user.js is preferable because Mozilla will not change these settings on your behalf, and you can easily undo them if something goes awry.
  • Cleanly exit your browser. Go to your profile folder [3]and vacuum your db files
cd $HOME/.mozilla/firefox/*/; for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done
  • Disable favicon and site-icon caching. Append do your user.js file: [4] [5]
user_pref("browser.chrome.favicons", false);
user_pref("browser.chrome.site_icons", false);
  • Turn off IPv6. Append to your user.js file: [6]
user_pref("network.dns.disableIPv6", true);
  • Disable dbus notifications within Firefox. Append to your user.js file: [7]
user_pref("toolkit.networkmanager.disable", true);
  • Turn off rich colour support. Append to user.js: [8]
user_pref("gfx.color_management.enabled", false);
user_pref("gfx.color_management.mode", 0);
  • Turn off paint delay. Append to user.js: [9]
user_pref("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.offline.enable", false);
user_pref("browser.cache.memory.enable", true);

Useful usability options

  • Enable form colours. Append to user.js: [14]
user_pref("browser.display.use_focus_colors", true);
user_pref("browser.display.focus_text_color", "#010101");
  • Disable blink tag. Append to user.js: [15]
user_pref("browser.blink_allowed", false);