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...')
 
No edit summary
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.  
* 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.


    * Cleanly exit your browser. Go to your profile folder [7]and vacuum your db files  
* Cleanly exit your browser. Go to your profile folder [http://kb.mozillazine.org/Profile_folder]and vacuum your db files


cd $HOME/.mozilla/firefox/*/; for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done
''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: [8] [9]  
* 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.favicons", false);
''user_pref("browser.chrome.favicons", false);''
user_pref("browser.chrome.site_icons", false);
''user_pref("browser.chrome.site_icons", false);''


    * Turn off IPv6. Append to your user.js file: [10]  
* Turn off IPv6. Append to your user.js file: [http://kb.mozillazine.org/Network.dns.disableIPv6]


user_pref("network.dns.disableIPv6", true);
''user_pref("network.dns.disableIPv6", true);''


    * Disable dbus notifications within Firefox. Append to your user.js file: [11]  
* Disable dbus notifications within Firefox. Append to your user.js file: [http://kb.mozillazine.org/Toolkit.networkmanager.disable]


user_pref("toolkit.networkmanager.disable", true);
''user_pref("toolkit.networkmanager.disable", true);''


    * Turn off rich colour support. Append to user.js: [12]  
* Turn off rich colour support. Append to user.js: [http://kb.mozillazine.org/Gfx.color_management.enabled]


user_pref("gfx.color_management.enabled", false);
''user_pref("gfx.color_management.enabled", false);''
user_pref("gfx.color_management.mode", 0);
''user_pref("gfx.color_management.mode", 0);''


    * Turn off paint delay. Append to user.js: [13]  
* Turn off paint delay. Append to user.js: [http://kb.mozillazine.org/Nglayout.initialpaint.delay]


user_pref("nglayout.initialpaint.delay", 0);
''user_pref("nglayout.initialpaint.delay", 0);''


    * Turn off firefox disk access (SSD option): [14][15][16][17]  
* 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.enable", false);
''user_pref("browser.cache.disk.enable", false);''
user_pref("browser.cache.disk.capacity", 0);
''user_pref("browser.cache.disk.capacity", 0);''
user_pref("browser.cache.offline.enable", false);
''user_pref("browser.cache.offline.enable", false);''
user_pref("browser.cache.memory.enable", true);
''user_pref("browser.cache.memory.enable", true);''


[edit] Useful usability options
= Useful usability options =


    * Enable form colours. Append to user.js: [18]  
* Enable form colours. Append to user.js: [http://kb.mozillazine.org/Browser.display.focus_background_color]


user_pref("browser.display.use_focus_colors", true);
''user_pref("browser.display.use_focus_colors", true);''
user_pref("browser.display.focus_text_color", "#010101");
''user_pref("browser.display.focus_text_color", "#010101");''


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

Revision as of 22:50, 18 January 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 [1] 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 [2]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: [3] [4]
user_pref("browser.chrome.favicons", false);
user_pref("browser.chrome.site_icons", false);
  • Turn off IPv6. Append to your user.js file: [5]
user_pref("network.dns.disableIPv6", true);
  • Disable dbus notifications within Firefox. Append to your user.js file: [6]
user_pref("toolkit.networkmanager.disable", true);
  • Turn off rich colour support. Append to user.js: [7]
user_pref("gfx.color_management.enabled", false);
user_pref("gfx.color_management.mode", 0);
  • Turn off paint delay. Append to user.js: [8]
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: [13]
user_pref("browser.display.use_focus_colors", true);
user_pref("browser.display.focus_text_color", "#010101");
  • Disable blink tag. Append to user.js: [14]
user_pref("browser.blink_allowed", false);