2 ms·
There's more to it. Youtube's own embed is by itself harmful just due to the sheer size of it - Google's own Lighthouse will mark youtube embeds as bad practic
by troupo 3y ago
There's more to it. Youtube's own embed is by itself harmful just due to the sheer size of it
- Google's own Lighthouse will mark youtube embeds as bad practices for many reasons. And will provide you with an article on how to replace the official Youtube embed with third-party libraries: https://developer.chrome.com/docs/lighthouse/performance/third-party-facades/ https://developer.chrome.com/docs/lighthouse/performance/thi...
- Google's own "Performance leader at Chrome" penned an article for web.dev where he mentions that you should use this other third-party library https://web.dev/articles/iframe-lazy-loading https://web.dev/articles/iframe-lazy-loading
- gryzzly 3y agofunny, right? imagine how hard it is to get on that team that spits out that garbage embed - you probably need to answer how many golf balls fit in a bus and such and sweat leetcode level hard and then dump 1,3mb on user where 1kb would suffice