• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Preload font

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Preload font

This topic is: resolved

Tagged: font, preload

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 11 months ago by Fabio Nodari.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 29, 2019 at 7:48 am #492006
    Fabio Nodari
    Participant

    When I run the Google speed test I get a warning about "Preload key requests"

    The message says that I should use <link rel=preload> on this font: roboto-medium-latin.woff2

    The strange thing is that I added this code to the header of every page (via Customize page):

    <link rel=”preload” as=”font” type=”font/woff2″ href=”https://www.fabionodariphoto.com/wp-content/themes/magazine-pro/fonts/roboto-medium-latin.woff2″ crossorigin>
    <link rel="preconnect" href="https://www.fabionodariphoto.com/wp-content/themes/magazine-pro/fonts/roboto-medium-latin.woff2" crossorigin>

    Not sure if I'm missing something or this is a bug of Google. I tried removing the preconnect line and only include the preload code but nothing changes. Also putting first preconnect and then preload doesn't change a thing.

    Here's an example:
    https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.fabionodariphoto.com%2Fen%2Fzhangjiajie-travel-guide-hunan%2F&tab=desktop

    The strange thing is that this error seems to come and go. It doesn't appear all the time, at least when I tested it.
    Hope you guys can help. Is not a big deal I know but it's driving me crazy.

    Thanks

    PS:
    all the fonts are hosted on my website


    My Blog | My Instagram

    July 1, 2019 at 5:33 am #492036
    AnitaC
    Keymaster

    WP Rocket has a guide to this here that will also send you to Google here. I think maybe visiting both of those pages will help you resolve that.


    Need help with customization or troubleshooting? Reach out to me.

    July 1, 2019 at 10:35 pm #492072
    Fabio Nodari
    Participant

    Thanks. I'll check it out.


    My Blog | My Instagram

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble