Post by Nathan on Jul 14, 2012 17:59:24 GMT -8
This post includes the most effective techniques I have found combining balance in performance and preference in Firefox (Mozilla 4.0+). If you are interested in what’s to offer and consider applying these mods, I recommend reading this post a section at a time.
1.) Introduction
I have been researching techniques to enhance Mozilla Firefox’s performance as well as reviewing others’ experiences. In addition, I have put this configuration technique to the test and amazingly it’s shown unexpected results. Pages load faster, less memory is preoccupied with general web browsing and currently Firefox uses no memory whatsoever when minimized or idle.
If you can get past the funky terminology, it doesn’t take a computer whiz to apply these steps. There are no prerequisites nor hidden installations.
To analogize what these mods do: they are the tweaks a car needs in order to race. Sure the car runs fine, but without certain modifications it will never be a race car. Ready to build one?
2.) Getting Started
Before making any changes, it is important to know Firefox's performance before and after these modifications are applied.
Go here and take good note of your OVERALL SCORE. Once the changes ave been made, you can visit that site again to see how much the numbers have changed. After I applied these very changes, my overall performance score jumped up from 505.4 to 539.7! Enough of the blabber; let's continue, shall we?
3.) The Initial Setup
I.) Type about:config in the address bar.
II.) Read the warning and either proceed or go back.
III.) Copy the values that are in bold, and paste them into the "Search:" bar in the about:config Control Panel to locate its default settings. To edit its settings, double click on the value and follow the given directions.
III-A) If the value can not be located, that means you need to create one. To do this you need to:
1.) Right-click anywhere on the page and select New...
1-a.) Integer if the value contains numbers.
1-b.) Boolean if the value contains a True/False statement.
1-c.) String if the value contains letters.
2-a.) Enter the given Integer value.
2-b.) Enter the given Boolean value.
2-c.) Enter the given String value.
Minimizing Memory Usage
browser.cache.compression_level; 1
browser.cache.memory.enabled; true
browser.cache.memory.capacity; 32768 * 2048(very low RAM)-32768 (very high RAM) but can be bumped even higher for faster CPU's, as mine is set to 65536. If unsure, skip and research. *
browser.display.show_image_placeholders; false
browser.sessionhistory.max_total_viewers; 5
config.trim_on_minimize; true
* Research the values listed above to ensure the best value suites your CPU. *
On-Page Load
content.interrupt.parsing; true * Must add to use content enhancements! *
content.max.tokenizing.time; 2250000
content.maxtextrun; 8191
content.notify.backoffcount; 5
content.notify.interval; 750000
content.notify.ontimer; true * Must add to use content enhancements! *
content.switch.threshold; 750000
Ensuring Highest Performance
network.dns.disableIPv6; true * Some say disabling this value could add security risks. *
network.http.max-connections; 30
network.http.max-connections-per-server; 15
network.http.max-persistent-connections-per-server; 10
* This is the section that has Firefox programmers, beta testers, and ordinary users scratching their heads. The truth is, these settings are different for everyone and need to be tweaked accordingly. *
* The trick is to retain a decent latency, while having all the necessary connections to display the various amount of content on any given page. Go here to test your connections. *
* network.http.max-persistent-connections-per-server NEVER needs to be higher than 12. A value higher than 12 is considered very poor online etiquette, and can result in you being banned from a server. *
* If you are using a proxy, you will need go to the link at the bottom and search keyword "proxy" and configure it likewise. *
Strictly Speed
network.http.pipelining; true
network.http.pipelining.maxrequests; 8
network.http.proxy.pipelining; true
network.http.request.max-start-delay; 5
network.prefetch-next; false
nglayout.initialpaint.delay; 100
* If you are using a proxy, you will need go to the link at the bottom and search keyword "proxy" and configure it likewise. *
Other Network Mods
network.dnsCacheExpiration; 360
network.dnsCacheEntries; 100
network.ftp.idleConnectionTimeout; 60
network.http.keep-alive.timeout; 30
network.http.connect.timeout; 30
4.) Conclusion
* An overview of these configurations and others can be found here. *
* If unsure which to use, use them all! I did. Although, if you want to test the waters first, try applying just the “Strictly Speed” modifications and see how they work. *
* If you are unhappy with your results, you can always refer back to this list, right click the modification and change it back to its default setting. *
* Other great performance enhancements include: Speedfox, SpeedDNS and RAMback. *
GL, HF and if you have any questions about specific entries, or problems/concerns/comments/extras... this is the place!
-Nathan
1.) Introduction
I have been researching techniques to enhance Mozilla Firefox’s performance as well as reviewing others’ experiences. In addition, I have put this configuration technique to the test and amazingly it’s shown unexpected results. Pages load faster, less memory is preoccupied with general web browsing and currently Firefox uses no memory whatsoever when minimized or idle.
If you can get past the funky terminology, it doesn’t take a computer whiz to apply these steps. There are no prerequisites nor hidden installations.
To analogize what these mods do: they are the tweaks a car needs in order to race. Sure the car runs fine, but without certain modifications it will never be a race car. Ready to build one?
2.) Getting Started
Before making any changes, it is important to know Firefox's performance before and after these modifications are applied.
Go here and take good note of your OVERALL SCORE. Once the changes ave been made, you can visit that site again to see how much the numbers have changed. After I applied these very changes, my overall performance score jumped up from 505.4 to 539.7! Enough of the blabber; let's continue, shall we?
3.) The Initial Setup
I.) Type about:config in the address bar.
II.) Read the warning and either proceed or go back.
III.) Copy the values that are in bold, and paste them into the "Search:" bar in the about:config Control Panel to locate its default settings. To edit its settings, double click on the value and follow the given directions.
III-A) If the value can not be located, that means you need to create one. To do this you need to:
1.) Right-click anywhere on the page and select New...
1-a.) Integer if the value contains numbers.
1-b.) Boolean if the value contains a True/False statement.
1-c.) String if the value contains letters.
2-a.) Enter the given Integer value.
2-b.) Enter the given Boolean value.
2-c.) Enter the given String value.
Minimizing Memory Usage
browser.cache.compression_level; 1
browser.cache.memory.enabled; true
browser.cache.memory.capacity; 32768 * 2048(very low RAM)-32768 (very high RAM) but can be bumped even higher for faster CPU's, as mine is set to 65536. If unsure, skip and research. *
browser.display.show_image_placeholders; false
browser.sessionhistory.max_total_viewers; 5
config.trim_on_minimize; true
* Research the values listed above to ensure the best value suites your CPU. *
On-Page Load
content.interrupt.parsing; true * Must add to use content enhancements! *
content.max.tokenizing.time; 2250000
content.maxtextrun; 8191
content.notify.backoffcount; 5
content.notify.interval; 750000
content.notify.ontimer; true * Must add to use content enhancements! *
content.switch.threshold; 750000
Ensuring Highest Performance
network.dns.disableIPv6; true * Some say disabling this value could add security risks. *
network.http.max-connections; 30
network.http.max-connections-per-server; 15
network.http.max-persistent-connections-per-server; 10
* This is the section that has Firefox programmers, beta testers, and ordinary users scratching their heads. The truth is, these settings are different for everyone and need to be tweaked accordingly. *
* The trick is to retain a decent latency, while having all the necessary connections to display the various amount of content on any given page. Go here to test your connections. *
* network.http.max-persistent-connections-per-server NEVER needs to be higher than 12. A value higher than 12 is considered very poor online etiquette, and can result in you being banned from a server. *
* If you are using a proxy, you will need go to the link at the bottom and search keyword "proxy" and configure it likewise. *
Strictly Speed
network.http.pipelining; true
network.http.pipelining.maxrequests; 8
network.http.proxy.pipelining; true
network.http.request.max-start-delay; 5
network.prefetch-next; false
nglayout.initialpaint.delay; 100
* If you are using a proxy, you will need go to the link at the bottom and search keyword "proxy" and configure it likewise. *
Other Network Mods
network.dnsCacheExpiration; 360
network.dnsCacheEntries; 100
network.ftp.idleConnectionTimeout; 60
network.http.keep-alive.timeout; 30
network.http.connect.timeout; 30
4.) Conclusion
* An overview of these configurations and others can be found here. *
* If unsure which to use, use them all! I did. Although, if you want to test the waters first, try applying just the “Strictly Speed” modifications and see how they work. *
* If you are unhappy with your results, you can always refer back to this list, right click the modification and change it back to its default setting. *
* Other great performance enhancements include: Speedfox, SpeedDNS and RAMback. *
GL, HF and if you have any questions about specific entries, or problems/concerns/comments/extras... this is the place!
-Nathan