[Resolved] Icon fonts being sent twice

Home Forums Support [Resolved] Icon fonts being sent twice

Home Forums Support Icon fonts being sent twice

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #908217
    toasterpc

    Hello everyone!

    Been loving the theme so far, it handles extremely well.

    Though some weird stuff has been happening recently, as it seems some of the icon fonts are being sent twice over the network, once from the website and then from the CDN.

    Is there any way to hook the srcset and redirect it to the CDN before the request is made?

    The website is hosted within Kinsta and using their CDN service.

    Thanks for the help!

    #908219
    Leo
    Staff
    Customer Support

    Hi there,

    Which icons are you referring to?

    Have you checked with Kinsta’s support? Feel like they might be able to answer this question a bit better.

    Let me know πŸ™‚

    #908228
    toasterpc

    Sure, the fonts are the following:

    gp-premium.ttf
    generatepress.woff2
    fontello.woff
    star.woff

    I was told by Kinsta that as long as the fonts are loaded through PHP instead of CSS there should be no problem, though I wonder how would I go about checking for that.

    #908270
    Tom
    Lead Developer
    Lead Developer

    The GP icons (first two files) are loaded via CSS (@font-face).

    In GP 2.3, you’ll be able to use SVG icons, which will replace the generatepress.woff2 file. This option will apply to the gp-premium one a little further down the road.

    #908281
    toasterpc

    Great! That explains it.

    I’m already signed up for the beta through the plugin, is there anything else I could do to prepare for 2.3?

    #908829
    Tom
    Lead Developer
    Lead Developer

    The theme betas aren’t automatic like GPP, unfortunately. You’ll need to manually update to the alpha once it comes out. I’ll update this topic once it’s out if you’d like? πŸ™‚

    #910074
    toasterpc

    Sure, that’d be great by me!

    #912458
    Tom
    Lead Developer
    Lead Developer

    GP 2.3 is now available for testing: https://generatepress.com/generatepress-2-3/

    Thanks!

    #912580
    toasterpc

    All right! Installed already.

    #912605
    Tom
    Lead Developer
    Lead Developer

    Awesome! Let us know if you have any feedback or find any bugs πŸ™‚

    #912610
    toasterpc

    Sure will.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.