DEV Community

Discussion on: My website now loads in less than 1 sec! Here's how I did it! ⚡

Collapse
 
bayuangora profile image
Bayu Angora

Yes, don't use FontAwesome.

Collapse
 
cmcodes profile image
C M Pandey

Why not? Over 1000,000,000 websites use it. 🤔

Collapse
 
bayuangora profile image
Bayu Angora • Edited

I only need 3 social icons. So, I rather choose svg than bloated FontAwesome.

lighthouse-dot-webdotdevsite.appsp...

Thread Thread
 
cmcodes profile image
C M Pandey

Your website is really cool! 🤘

Thread Thread
 
bayuangora profile image
Bayu Angora

Thanks.

Collapse
 
markgoho profile image
Mark Goho

If you're going to use FontAwesome, the responsible way to do it is to use IcoMoon to create a font subset of just the icons you need, and then save that as a custom font and use that. It'll bring your gzip size from 70KB down to maybe 10KB (obvs depending on how many icons you use).

Collapse
 
bayuangora profile image
Bayu Angora

IcoMoon is really good alternative.