zlacker

[return to "Someone at YouTube needs glasses"]
1. iMerNi+X5[view] [source] 2025-04-30 15:45:51
>>jayden+(OP)
What gets me the thumbnails are now so big, they're blurry since the images need to be stretched to fit now!

The preview is 530x300px on a 1920x1080 screen vs the image shown being 336x188px

How this passed any sort of QA is beyond me

◧◩
2. jshear+a7[view] [source] 2025-04-30 15:50:51
>>iMerNi+X5
They clearly need to conserve bandwidth for the most important assets - the 12 whole megabytes of Javascript.
◧◩◪
3. jmb99+gl[view] [source] 2025-04-30 16:47:33
>>jshear+a7
Genuine question. I’m assuming that, since YouTube is owned by one of the largest tech companies in the world that they’ve optimized their delivered JS to only what is necessary to run the page.

What on the YouTube home page could possibly require 12MB of JS alone? Assuming 60 characters per line, that’s 200k lines of code? Obviously ballpark and LoC != complexity, but that seems absurd to me.

◧◩◪◨
4. jshear+Om[view] [source] 2025-04-30 16:53:43
>>jmb99+gl
Fun fact: Googles own web performance team recommends avoiding YouTube embeds because they're so obscenely bloated. Placing their <iframe> on a page will pull in about 4MB of assets, most of which is Javascript, even if the user never plays the video.

https://developer.chrome.com/docs/lighthouse/performance/thi...

YouTubes frontend people just don't care about bloat, even when other Googlers are yelling at them to cut it out.

◧◩◪◨⬒
5. lepton+Vp[view] [source] 2025-04-30 17:09:16
>>jshear+Om
We lazy-load Youtube iframes, fixes the problem pretty easily.
[go to top]