Want more timely Centmin Mod News Updates?
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,008
    1,208
    113
    May 25, 2014
    Ratings:
    +1,834
    Local Time:
    9:02 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,008
    1,208
    113
    May 25, 2014
    Ratings:
    +1,834
    Local Time:
    9:02 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    11:02 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Dependent on style/theme - so varies from site to site :)