YouTube slows down video load times when using Firefox
291–300 of 486 posts
Re: YouTube slows down video load times when using Firefox
#292Earlier quoted context omitted.
The dog slow load times of ad infested AMP pages would suggest otherwise.
The prevailing developer discussions going from "Load speed doesn't matter, stop complaining about useless stuff" to "load times matters, but here we choose to make it slow for other reasons" is a massive improvement though. Today speed is valued, it wasn't back then. There are many such tests being written about in blogs today. So now a developer can get time to optimize load times based on those blog posts while be…
It's always, always mattered. If anything, people care less today, with the entire ridiculous 100 loads per page.
Re: YouTube slows down video load times when using Firefox
#293Earlier quoted context omitted.
> It was especially egregious when MSFT was trying their own EdgeHTML/Trident-based Edge. Issues would go away by faking user-agent. Why is there more than one user-agent? Does somebody still expect to receive different content based on the user-agent, and furthermore expect that the difference will be beneficial to them? What was Microsoft trying to achieve by sending a non-Chrome user-agent?
It is normal practice for each browser to have its own user-agent, no? But the fact that Google intentionally detected it and used polyfills or straight up invalid JS at the time was insane. A similar spin today is "Your browser is unsupported" you see here and there. When a major platform such as YouTube does it, it is really impactful. It would never do feature detection, would give lower quality h264 video, etc. B…
Re: YouTube slows down video load times when using Firefox
#294From reddit discussion ( https://www.reddit.com/r/firefox/comments/17ywbjj/comment/k9... ): > To clarify it more, it's simply this code in their polymer script link: > setTimeout(function() { c(); a.resolve(1) }, 5E3); > which doesn't do anything except making you wait 5s (5E3 = 5000ms = 5s). You can search for it easily in https://www.youtube.com/s/desktop/96766c85/jsbin/desktop_pol...
Trying to be charitable here: could this be a debug/test artefact that inadvertantly got into production?
Re: YouTube slows down video load times when using Firefox
#295How Google is building a browser monopoly. https://www.youtube.com/watch?v=ELCq63652ig
Re: YouTube slows down video load times when using Firefox
#296The actual code. They went and actually hardcoded a 5 second delay.
Re: YouTube slows down video load times when using Firefox
#297I use Firefox, and Google's sites are literally the only ones where I consistently have issues. There was a period of about a month this summer where Google Maps was just completely broken for me, the map wouldn't update at all when attempting to search or pan. There was recently a several day span where chat in Gmail had a 10+ second input lag due to some font-related JavaScript code spinning the CPU nonstop. It's l…
Gmail has recently become extremely slow for me in Safari on a well specced M1 max
Re: YouTube slows down video load times when using Firefox
#298Oh, and they also falsely show "4K" in the video quality icon, but "accidentally" play a 720p or even worse quality stream. If you manually select the 4K stream quality, then and only then will YouTube deign to show 4K to you.
Re: YouTube slows down video load times when using Firefox
#299From reddit discussion ( https://www.reddit.com/r/firefox/comments/17ywbjj/comment/k9... ): > To clarify it more, it's simply this code in their polymer script link: > setTimeout(function() { c(); a.resolve(1) }, 5E3); > which doesn't do anything except making you wait 5s (5E3 = 5000ms = 5s). You can search for it easily in https://www.youtube.com/s/desktop/96766c85/jsbin/desktop_pol...
I'm not even mad about Google making my artificially wait 5s for using firefox. I'm mad that such a big company with suposelly decent engineers, are making me wait 5s with literally a sleep, how is even possible to do such thing in such a rudimentary way? I would be like damn that was smart, this feels like, seriously this is the level?
Re: YouTube slows down video load times when using Firefox
#300I am not getting this behaviour in Firefox 120. Tried it, logged out as well. > setTimeout(function() { c(); a.resolve(1) }, 5E3); The code looks like a silly concurrency bug fix, i.e., a lazy way to force ordering.
A 5 SECOND timeout for a concurrency issue? I doubt it.