[Support request] Huge amounts of Font code

Home Forums Support [Support request] Huge amounts of Font code

Home Forums Support Huge amounts of Font code

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • #2453965
    Mark

    Yes, an exact copy. I’ll follow up with hosting

    #2453970
    Fernando
    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.

    #2454085
    Mark

    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

    #2454087
    Fernando
    Customer Support

    I see. Glad you found the cause.

    It may be good to raise a topic here regarding this: https://community.cloudflare.com/

    #2455143
    Mark

    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 :/

    #2455256
    Fernando
    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?

    #2455260
    Mark

    I may have to disable APO, yes

    #2455295
    Fernando
    Customer Support

    I see. If you’ll have any further inquiries, feel free to reach out anytime. Have a nice day!

    #2523790
    Mark

    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?

    #2523814
    Ying
    Staff
    Customer Support

    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?

    GP doesn’t load random fonts, but other plugins might do.

    You’ll have to figure out which fonts and requested by which plugin.

    #2523877
    Mark

    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:

    font

    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.

    #2523886
    Fernando
    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.

    #2523893
    Mark

    I don’t know if I did upload font files to my site? I just pick them from Customize on GP

    #2523902
    Fernando
    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.

    #2523927
    Mark

    I believe I have already added the same way you showed in the example. Here is what I have:

    fontGP

Viewing 15 posts - 16 through 30 (of 35 total)
  • You must be logged in to reply to this topic.