Learn about Centmin Mod LEMP Stack today
Become a Member

Is it good or bad to Link Preload font/fontawesome files?

Discussion in 'Web Development & Web Performance' started by rdan, Feb 4, 2020.

  1. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    9:06 AM
    Mainline
    10.2
    XenForo 2.1 by default preload this files:
    Code:
    <link rel="preload" href="/styles/fonts/fa/fa-regular-400.woff2?_v=5.12.0" as="font" type="font/woff2" crossorigin="anonymous" />
    <link rel="preload" href="/styles/fonts/fa/fa-solid-900.woff2?_v=5.12.0" as="font" type="font/woff2" crossorigin="anonymous" />
    <link rel="preload" href="/styles/fonts/fa/fa-brands-400.woff2?_v=5.12.0" as="font" type="font/woff2" crossorigin="anonymous" />
    
    I removed it on my own site and Start to Render decreased which I think is good.
    Eva however preload it on this Forum, that's why I'm confuse what's the best setup.

     
  2. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    9:06 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Dependent on style/theme - so varies from site to site :)