Saw this ghacks article for speeding up YouTube on FF and seems to help.

https://www.ghacks.net/2025/11/24/these-two-tweaks-should-improve-firefoxs-performance-on-youtube-significantly/

cross-posted from: https://lemmy.ml/post/39446054

I have seen folks talk about a pain point for using FF (or forks) being related to YouTube being super slow. The about:config settings the article mentions did seem to lead to YouTube loading faster on both my FF and Zen-Browser installs. So maybe this might help for others that specifically don't like to use FF as their main browser because of YouTube.

For those that just want the settings:

gfx.webrender.compositor.force-enabled (set to true and restart FF)

If on AMD GPU, this extra setting is supposed to help reduce CPU usage:

media.wmf.zero-copy-nv12-textures-force-enabled (set to true and restart FF)

43 points · 4 comments · view on lemmy.world

4 Comments

bravemonkey@lemmy.ca · 3 pts · 267d (2 replies)

gfx.webrender.compositor.force-enabled is not mentioned in the article at all - while they don't mention the specific setting annoyingly, they do mention 'layer compositor' so it should be gfx.webrender.layer-compositor.

plz1@lemmy.world · 2 pts · 267d

It does mention it, now at least.

otter@lemmy.ca · 1 pts · 267d

They must have been editing the article back and forth. I also only saw "WebRender Layer Compositor", but it's organized nicely now

Unquote0270@programming.dev · 2 pts · 264d

I tried gfx.webrender.layer-compositor on linux and it actually made things a lot worse for me. Youtube took longer to load and sometimes didn't load correctly leading to the page having to be refreshed before it would respond.