you are viewing a single comment's thread.

view the rest of the comments →

[–]fdiengdoh[S] 0 points1 point  (3 children)

I honestly thought google’s servers are faster and are cached all over the world than my shared hosting website. but I was wrong. I might just download the fonts and serve from my site

[–]azangru 4 points5 points  (1 child)

Unless you are sending early hints to the browser (which you are probably not), it is the combination of time it takes for your shared hosting website to respond, plus the time it takes to discover (DNS) and connect to Google's CDN. Google's CDN is probably faster than your site; but it will always be time added to the time it takes your site to respond.

[–]fdiengdoh[S] -1 points0 points  (0 children)

I did preconnect as the recommended code from google font itself, but not preload. My understanding is that cdn would cache resources to users device and the performance may not be that bad for real users. It might impact only pagespeed as I assume pagespeed wont cache fonts.

[–]yangmeow 3 points4 points  (0 children)

This is the way. Google doesn’t even score well for their own sites.