• Resolved jfcarreau

    (@jfcarreau)


    Hi guys, I have a problem with my fonts. If I do a speedtest with page speed insight from google, it tells me that I can save a lot of time in preloading key requests. I use the URLs links they give me in the description and preload it on the siteground optimizer, but I come with another error.

    ” Warnings: A preload <link> was found for “https://locationchaletestrie.ca/wp-content/uploads/et-fonts/BebasNeue-Regular.ttf&#8221; but was not used by the browser. Check that you are using the crossorigin attribute properly.

    Does anyone know how to solve this issue? my website is particularly slow on cellphone and I think it’s a big part of the issue

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Elena Chavdarova

    (@elenachavdarova)

    Hello @jfcarreau,

    We have checked the reported case and found the reason of the reported issue.

    We noticed that there are many elements loaded via http protocol in the website. This is generating many “Mixed Content” errors on the website.

    You have enabled the Web Fonts Optimization option in SiteGround Optimizer plugin. Still the font link reported above is not added in the “Fonts Preloading
    ” option.

    In the Fonts Preloading option we are using the crossorigin option. Currently the font is loaded via http URL in your website, so you can add it in SiteGround Optimizer -> FRONTEND OPTIMIZATION -> Web Fonts Optimization
    -> Fonts Preloading. Make sure to use the full URL to the resource.

    You need to replace the http links in any files where they are being hardcoded. All URLs to assets on the site should be loaded via https protocol.

    For URLs in the database you can use SiteGround Optimizer -> ENVIRONMENT OPTIMIZATION -> Enable HTTPS -> Fix Insecure Content option.

    If there are issues afterwards, you can update this thread, so we can check the case further.

    Best Regards,

    Elena

Viewing 1 replies (of 1 total)
  • The topic ‘Fonts preloading’ is closed to new replies.