- This topic has 11 replies, 4 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
March 9, 2016 at 6:09 am #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
March 9, 2016 at 12:21 pm #178070Tom
Lead DeveloperLead DeveloperThat’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.
March 9, 2016 at 11:33 pm #178159Kim
Hi Tom
Thanks for the answer. I’ll see if something can be done with my server.
March 10, 2016 at 11:12 am #178307Tom
Lead DeveloperLead DeveloperSounds good, let me know how it goes 🙂
April 25, 2020 at 4:52 am #1254818Marc-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.
April 25, 2020 at 9:22 am #1255256Tom
Lead DeveloperLead DeveloperIdeally, Lightweight Social Icons should be using SVGs these days. However, I believe our GenerateBlocks plugin will likely replace its functionality in the near future.
June 3, 2020 at 9:35 am #1312893Sebastien
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
sebastienJune 3, 2020 at 4:05 pm #1313305Tom
Lead DeveloperLead DeveloperNot at the moment.
You can always just use SVGs in your footer for the icons if you don’t want to use LSI.
June 3, 2020 at 11:51 pm #1313570Sebastien
Thank you!
June 4, 2020 at 9:59 am #1314516Tom
Lead DeveloperLead DeveloperNo problem!
December 21, 2022 at 5:19 am #2469283Marc-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!
December 21, 2022 at 5:52 am #2469308David
StaffCustomer SupportHi 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! -
AuthorPosts
- You must be logged in to reply to this topic.