Site logo

Archived topic

Trying to improve page speed and wondering about disabling google fonts

4 replies · Started by Norman on July 7, 2020

Viewing posts 1–5 of 5

Hello,

I'm wondering if you have any thoughts or help on the following message from GTMetrix.

My page load speed is very slow on my checkout and I'm trying to find out why. When I click on the YSLOW, it seems much difficulty is from Google Fonts?

How do I disable them from loading, or is that the problem?

Here's the message:

There are 18 static components without a far-future expiration date.

https://js.stripe.com/v2/
https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,700i,800
https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900
https://fonts.googleapis.com/css?family=Oswald:300,400,700
https://fonts.googleapis.com/css?family=Lato
https://connect.facebook.net/en_US/fbevents.js
https://ssl.google-analytics.com/ga.js
https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap
https://connect.facebook.net/signals/config/698824893510013?v=2.9.22&r=stable
https://bat.bing.com/bat.js
https://www.facebook.com/tr/?id=698824893510013&ev=PageView&dl=https%3A%2F%2Fchurchletters.org%2Fcl-buygold%3Fb_id%3Dc75a2b&rl=&if=false&ts=1594164709686&sw=1367&sh=863&v=2.9.22&r=stable&ec=0&o=30&fbp=fb.1.1594164709683.2062116811&it=1594164709323&coo=false&rqm=GET
https://www.paypal.com/tagmanager/pptm.js?id=churchletters.org&t=xo
https://pixel.wp.com/g.gif?v=ext&j=1%3A8.7&blog=66004333&post=13579&tz=-4&srv=churchletters.org&host=churchletters.org&ref=&fcp=8203&rand=0.9367419932642558
https://www.paypalobjects.com/muse/muse.js
https://t.paypal.com/ts?pgrp=muse%3Athird-party%3Aanalytics-xo%3A%3ALSPXMEUAEYJS8-XO&page=muse%3Athird-party%3Aanalytics-xo%3A%3ALSPXMEUAEYJS8-XO%3A%3A%3A&tsrce=tagmanagernodeweb&comp=tagmanagernodeweb&sub_component=analytics&s=ci&item=4313a919-6693-457c-aed5-f1eb2587c056&fltp=analytics&mrid=LSPXMEUAEYJS8&flag_consume=yes&pt=Join%20Today%20%E2%80%93%206%20Month%20Membership&dh=863&dw=1367&bh=768&bw=1366&cd=24&sh=863&sw=1367&v=NA&pl=pdf&rosetta_language=en-US&e=im&t=1594164710048&g=420&completeurl=https%3A%2F%2Fchurchletters.org%2Fcl-buygold%3Fb_id%3Dc75a2b
https://www.paypalobjects.com/muse/noop.js
https://www.paypalobjects.com/muse/analytics/chunk/d5d38eb23b0df721a41f.chunk.js
https://t.paypal.com/ts?pgrp=muse%3Aoffer%3A%3A%3ALSPXMEUAEYJS8-XO&page=muse%3Aoffer%3A%3A%3ALSPXMEUAEYJS8-XO%3A%3AvisitorInfoFlowStarted%3A&tsrce=tagmanagernodeweb&comp=tagmanagernodeweb&sub_component=analytics&s=ci&item=4313a919-6693-457c-aed5-f1eb2587c056&es=visitorInfoFlowStarted&mrid=LSPXMEUAEYJS8&pt=Join%20Today%20%E2%80%93%206%20Month%20Membership&dh=863&dw=1367&bh=768&bw=1366&cd=24&sh=863&sw=1367&v=NA&pl=pdf&rosetta_language=en-US&e=im&t=1594164710423&g=420&completeurl=https%3A%2F%2Fchurchletters.org%2Fcl-buygold%3Fb_id%3Dc75a2b

Hi there,

You can remove or swap google fonts - the options are:

1. Choose System Stack fonts instead of Google fonts in the Customizer. Those will make 0 requests.
2. You can server fonts locally, this will still make request but from your domain ( less DNS lookups ):
https://docs.generatepress.com/article/adding-local-fonts/

Hi Norman,

You could try to use autoptimize using preconnect.
Just be carefull because i have seen that some settings in autoptimize could break the website, be sure to have a backup.
You could checkout this site for information about preconnect: https://daan.dev/how-to/speed-up-wordpress-using-preconnect/

Kind regards,

Kumar

Thanks to all of you for your "above and beyond" help!

You're welcome

This archived topic is closed to new replies.