5 ms·
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 sc
by josephg 5y ago
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.com%2Fblog%2Fcrdts-go-brrr%2F https://pagespeed.web.dev/report?url=https%3A%2F%2Fjosephg.c...
- raihansaputra 5y agoHah. Kindof same. Ran Lighthouse tests on my project and on the evaluation it complains about gtag and Google Sign In being slow to load.
- dylan604 5y agoI'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.
- SquareWheel 5y agoThat'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 https://github.com/paulirish/lite-youtube-embed
- josephg 5y agoOh that’s excellent. I’m surprised YouTube’s official embed code doesn’t use these tricks.
- GordonS 5y agoPageSpeed even moans about Google Analytics scripts!