Yes. It swaps their positions but they rearrange on browser restart. Since I installed Close Tab to Right first and Discard later, I uninstalled Close Tab and reinstalled it. Same effect. Their positions switch but on a browser restart, they're back to where they were before all this.
Same. I even came across this comment after doing that. Did everything it said (browser.cache.offline.enable
perf wasn't there for some reason, so I made one) and still no change. Changed the values of perfs mentioned in my post again as well, combined with that comment's proposed changes but still nothing.
And yeah, it's 1440p but I've tested this on 1080p videos as well. Length of 1440p video is 2-3 mins and the 1080p one is just over 11 mins.
Honestly, I give up at this point. Btw, thank you so much for trying to help.
I didn't know about that. It does seem small. It's just 32 MB. So I googled around and
changed browser.cache.memory.capacity
value from -1
to 1000000
and changed media.cache_readahead_limit
/ media.cache_resume_threshold
to 999999
but I didn't notice any difference. Rebuffering still happens.
What I did notice was that after hitting the replay button, if I press right arrow quickly enough to skip forward (40% or more), the buffer reppears and my network activity reflects that.
So it seems to me is that Firefox caches about 60% of the video (latter half) and when you replay it, it starts rebuffering the lost 40% of the first half of the video. I reverted my settings back to default values (the 3 prefs I mentioned above) and it still behaves this way.
It's not, because my CPU supports VP9 hardware decoding.
That made it work. Thank you.