• chrissypritchard2016

    (@chrissypritchard2016)


    Hello,

    on viewing the source code, the preconnect is duplicated multiple times for each font. I assumed a font would only be added to the <head> area once per font. I’m worried the amount of repeat code is slowing the site loading times down. Can you advise? Many thanks.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Georgi Ganchev

    (@georgiganchev)

    Hello @chrissypritchard2016 ,

    I can see that there are multiple fonts that are being used on the website and all of them preloaded. Yet there seems to be duplicate functionality as the fonts are first preconnected using the Yoast plugin, then there is the same functionality turned on from your WP-Rocket plugin and again visible in the code.

    The way the fonts are preloaded by the Speed optimizer plugin is correct, they are consolidate in the combined .css and preloaded as “style”.

    You should make sure that you remove duplicate functionalities as they use different ways to preload or preconnect fonts. Once you do that make sure that you only preload fonts that are critical for the initial rendering to avoid unnecessary resource loading.

    Best regards,
    Georgi Ganchev
    SiteGround.com

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.