This tutorial was created pre-Quantum (FF57). Some commands might still help, but most won't. Consider this tutorial outdated and obsolete!
For some, and at least for me, Firefox is unusable with stock setting, even with no add-ons installed at all.
Here are some steps that help in getting it faster.
All steps are done in
Handle with care! I am not responsible for problems occuring from typo's and nuked Firefox profiles
Telling Firefox to cache to RAM instead of disk-only:
- create a new Integer entry:
browser.cache.memory.capacityand set it to "-1" (Firefox determines the available RAM and uses it accordingly; it is also possible to set a fixed amount in kilobytes)
browser.cache.use_new_backendto "1" (Integer)
- optional: set
browser.cache.disk.enableto "false" to completely deactivate the disk cache (it will load all sites completely fresh after every restart of Firefox)
Optimizing Internet Access
Those steps can also be done with the help of an add-on: Speed Tweaks (SpeedyFox)
- optional: Set
Optimize hardware usage
- Hardware-acceleration is a big performance-gain and it seems to be enabled by default now. You can check it in
about:support- if the graphic-section there mentions "Compositing OpenGL" it is active. If it is "Compositing Basic" you can activate it by setting
layers.acceleration.force-enabledto "true" ( Might cause graphic issues on some chips, like Intel Atom's)
- Multithreading support can be forced on if not active by default. Check in
about:supportif Multiprocess Windows is 1 or higher. If not, add
browser.tabs.remote.force-enable(boolean) and set it to "true" ( If you have stutters or other performance issues caused by that option, one of your add-on's is not compatible with multithreading. Most add-ons are compatible though. One can check compatibility with this add-on)
I have not set the optional entry's and finally I can use Firefox again without it lagging after 30 minutes. RAM usage is still less than Chromium-based browsers.