News for hackers. Stuff that matters.
Re:The Google home page is 500K by josephg on Thursday December 23, 2021 @11:45PM (#29670313)
A blog post I wrote a few months ago is apparently fast in general, but I get a bad score on pagespeed insights because I'm pulling in 3rd party scripts. The scripts I'm using? An embedded youtube video and some fonts from google fonts. I'm not sure why pagespeed insights says first paint is delayed behind youtube's javascript loading. Sounds like something I should fix.

Shame on me for using google's other services in the recommended way I suppose.

[1] https://pagespeed.web.dev/report?url=https%3A%2F%2Fjosephg.c...

Re:The Google home page is 500K by raihansaputra on Friday December 24, 2021 @12:17AM (#29670520)
Hah. Kindof same. Ran Lighthouse tests on my project and on the evaluation it complains about gtag and Google Sign In being slow to load.
Re:The Google home page is 500K by dylan604 on Friday December 24, 2021 @01:10AM (#29670811)
I'm shocked they are allowed to report this. Interesting that they are allowed to be independent and not obfuscate the fact that the other Goog services are so slow.
Re:The Google home page is 500K by SquareWheel on Friday December 24, 2021 @08:42AM (#29673489)
That's always been the case. Having too many Google Ads can even downrank you in search results for being a bad user experience.

For Youtube embeds, I prefer Lite Youtube Embed[1] by the magnificent Paul Irish.

[1] https://github.com/paulirish/lite-youtube-embed

Re:The Google home page is 500K by josephg on Friday December 24, 2021 @06:30PM (#29678814)
Oh that’s excellent. I’m surprised YouTube’s official embed code doesn’t use these tricks.
Re:The Google home page is 500K by GordonS on Friday December 24, 2021 @08:19AM (#29673323)
PageSpeed even moans about Google Analytics scripts!