Site logo

[Resolved] Fontello is slowing down my website

Home Forums Support [Resolved] Fontello is slowing down my website

Home Forums Support Fontello is slowing down my website

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #177999
    Kim

    Hi

    I’ve discovered that fontello inside Lightweight Social Icons is slowing down my website. Fontello.woff takes around 700 ms to load while the whole page loads in 2,7 seconds. A lot of time is wasted loading fontello.

    Anyone else seen this before, and is there a solution to it?

    Regards, Kim

    #178070
    Tom
    Lead Developer
    Lead Developer

    That’s interesting – it’s only a 15KB file, so it shouldn’t take long to load at all.

    I’m afraid it’s an essential font file to make Lightweight Social Icons work.

    I would assume there’s something going on with your server, but you may be better off using images if the fonts are taking too long to load.

    #178159
    Kim

    Hi Tom

    Thanks for the answer. I’ll see if something can be done with my server.

    #178307
    Tom
    Lead Developer
    Lead Developer

    Sounds good, let me know how it goes 🙂

    #1254818
    Marc-Michael

    Hello

    I have the same problem on my website https://marcdietschi.com

    I’ve tried this solution.

    add_filter(‘avf_font_display’, function($swap) {
    return ‘swap’;
    }, 10, 1);

    add_filter(‘avf_google_fontlist’, ‘add_font_display’);
    function add_font_display ($fonts) {
    return $fonts.=’&display=swap’;
    }

    But PageSpeed Insights is still telling me, that …fonts/fontello.woff(k2s7a9u3.rocketcdn.me) is slowing down my page. Maybe it helps with your Website.

    #1255256
    Tom
    Lead Developer
    Lead Developer

    Ideally, Lightweight Social Icons should be using SVGs these days. However, I believe our GenerateBlocks plugin will likely replace its functionality in the near future.

    #1312893
    Sebastien

    Hi Tom,

    Do you know if or when this will be added to GenerateBlocks please?

    Currently I am only using the lightweight social icons in the footer, so they’re not even visible to a user until he scrolls down to the bottom. Is there anything I can do to avoid the red warning from Google pagespeed please?

    Many thanks
    sebastien

    #1313305
    Tom
    Lead Developer
    Lead Developer

    Not at the moment.

    You can always just use SVGs in your footer for the icons if you don’t want to use LSI.

    #1313570
    Sebastien

    Thank you!

    #1314516
    Tom
    Lead Developer
    Lead Developer

    No problem!

    #2469283
    Marc-Andre

    Hi Tom,

    I have the same issue here, but because I tried replacing Lightweight Social Icons plugin with GenerateBlocks.

    After removing the Lightweight Social Icons plugin from my website, I got speed issues because of the fontello.woff file. In the GTMetrix analysis, it seems that when the page load, it’s trying to find the file and then cancel the action.

    I looked in the Cpanel and the plugin is gone and I’m not able to find the fontello.woff file either. I cleared the cache and I still have this issue. Is there a way to solve this issue and make sure the website don’t try to load this file?

    EDIT : After some manipulations here and there, it seems to be resolved, but I don’t know what really solved the issue. If I have more information or if the issue reappear I will post here again.

    In any case, replacing Lightweight Social Icons with GenerateBlocks works like a charm. Thank you for the great plugins!

    #2469308
    David
    Staff
    Customer Support

    Hi there,

    theres a possibility that the file request was cached somewhere, and it took a little while for that to clear.
    Glad to hear its now working correctly and with GenerateBlocks!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.