Skip to content

Instantly share code, notes, and snippets.

@amorgner
Last active June 30, 2022 20:01
  • Star 27 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save amorgner/6746802 to your computer and use it in GitHub Desktop.
Some config options to make Firefox faster (updated)
Over time, I collected some options to make Firefox really fast.
WARNING! NO WARRANTY, use on your own risk!
If you know what you're doing, go to 'about:config' and edit the listed values accordingly.
Hint: Double-click boolean values to toggle true/false.
###########################
If mouse-wheel scrolling is slow, try
general.smoothScroll = false
############################
browser.display.show_image_placeholders false
browser.tabs.animate false
ui.submenuDelay 0
network.prefetch-next true
network.http.pipelining true
network.http.pipelining.ssl true
network.http.proxy.pipelining true
network.http.pipelining.maxrequests 8
network.dns.disableIPv6 true
network.http.max-connections 48
network.http.max-connections-per-server 16
network.http.max-persistent-connections-per-proxy 16
network.http.max-persistent-connections-per-server 8
content.notify.ontimer true
content.switch.threshold 750000
nglayout.initialpaint.delay 0
config.trim_on_minimize true
browser.sessionhistory.max_total_viewers 0
browser.cache.memory.capacity 65536
(new Integer) content.notify.backoffcount 5
(new Boolean) plugin.expose_full_path true
(new Boolean) content.interrupt.parsing true
(new Integer) content.max.tokenizing.time 2250000
(new Integer) content.notify.interval 750000
###########################
More aggressive options:
network.http.pipelining.aggressive true
@MegaPramuk
Copy link

Why set network.dns.disableIPv6 to true?
Looking it up, it says that it might even speed up the connections, although it's also stated to be a possible placebo.
Also, what exactly does plugin.expose_full_path do to help speed up things? I couldn't find any relevant information regarding that key, and it's not even a measurement for hardening the browser. So why change the value?

@hheexx
Copy link

hheexx commented Nov 19, 2017

pipelining is removed in firefox 54

@LOuroboros
Copy link

network.http.max-connections-per-server does no longer show up in Firefox 66.0.1
Does it still work if you create it as an Integer preference manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment