- This topic has 34 replies, 3 voices, and was last updated 1 month, 3 weeks ago by
Fernando.
-
AuthorPosts
-
December 7, 2022 at 8:35 pm #2453965
Mark
Yes, an exact copy. I’ll follow up with hosting
December 7, 2022 at 8:53 pm #2453970Fernando Customer Support
Yes, that’s a good idea. I can see you have Server caching and CDN as well: https://share.getcloudapp.com/DOuk809z
It would be good to ask your hosting provider to clear it.
Hope it goes well.
December 7, 2022 at 11:46 pm #2454085Mark
It seems to be Cloudflare APO that’s doing it.
Now I need to work out if this is normal and how I can stop without getting rid of APO
December 7, 2022 at 11:49 pm #2454087Fernando Customer Support
I see. Glad you found the cause.
It may be good to raise a topic here regarding this: https://community.cloudflare.com/
December 8, 2022 at 2:33 pm #2455143Mark
I have done, but I’m only getting confirmation that APO is causing the issue, not how to fix it and how damaging it is :/
December 8, 2022 at 5:25 pm #2455256Fernando Customer Support
I see. Unfortunately, this would be out of our scope of expertise.
Perhaps you can test your site in https://pagespeed.web.dev/ with APO turned on and off to compare at least and check if it has major effects performance-wise?
December 8, 2022 at 5:36 pm #2455260Mark
I may have to disable APO, yes
December 8, 2022 at 6:30 pm #2455295Fernando Customer Support
I see. If you’ll have any further inquiries, feel free to reach out anytime. Have a nice day!
February 6, 2023 at 4:03 pm #2523790Mark
I got this back from a Cloudflare community member and they seem to think it’s normal
“It sounds like you’re using APO on WordPress, and it’s caching third party fonts for you.”
So my next question is, why is CF caching all these fonts that I assume I do not use? Is there something I can disable in GP that does this?
Someone told me that new installations now mean you “can now select the fonts you want loaded”.
Do I have any options here?
February 6, 2023 at 4:35 pm #2523814Ying
StaffCustomer SupportSo my next question is, why is CF caching all these fonts that I assume I do not use? Is there something I can disable in GP that does this?
GP doesn’t load random fonts, but other plugins might do.
You’ll have to figure out which fonts and requested by which plugin.
February 6, 2023 at 6:29 pm #2523877Mark
Sorry, I find the fonts thing very confusing. You have a guide https://docs.generatepress.com/article/adding-local-fonts/?fbclid=IwAR1VhMyeGZdL5XY0i7eixvDC2K9LXYAyLsDUJOXzxAtN5lhrrwqCaN35L4M and it mentions something about add your own fonts:
I don’t believe other plugins are loading all these extra fonts when CF APO is enabled
To be clear, the font-face code that is being loaded are the font-type that are being used on my site. It’s just that every single variation of the particular font seems to show up in the source code when CF APO enabled.
February 6, 2023 at 6:42 pm #2523886Fernando Customer Support
When you uploaded the Font files on your site, do these files include multiple variations? If so, can you try reuploading the Fonts with just the variations you need?
As mentioned, GP won’t load any other font that isn’t added. If you don’t load Google fonts, it won’t load. If it’s not added as a local font, it won’t load as well through GP.
There’s no code in GP that will make your site load random fonts out of the blue which is why Ying says that if you didn’t add it through GP, it could be added by a plugin.
February 6, 2023 at 6:47 pm #2523893Mark
I don’t know if I did upload font files to my site? I just pick them from Customize on GP
February 6, 2023 at 7:00 pm #2523902Fernando Customer Support
I see. If you didn’t add a local font and added one only through the Customizer, then you shouldn’t need a
@font-face
rule.So, if you’re adding a Google Font for instance, you can set the Variants to load in the Variants input box. Example: https://share.getcloudapp.com/nOu1xyO5
Try to remove the variants you don’t need in the fonts you’ve added.
February 6, 2023 at 7:26 pm #2523927Mark
I believe I have already added the same way you showed in the example. Here is what I have:
-
AuthorPosts
- You must be logged in to reply to this topic.