Improve performance by using a lite version of font-awesome css  

  RSS

John
 John
(@it-billingpayscale-com)
Member Customer
Joined: 3 years ago
Posts: 1
01/11/2018 10:19 pm  

I love your plugin, but it would be great if you could create a modified CSS file that only includes the font-awesome icons that are actually used by wpDiscuz.

Right now the full font-awesome CSS file is being loaded at about 40kb, even though the plugin is only using 10 or 20 icons.  It would be great if the plugin used a lite version of the css file that only includes the icons that are used, that would likely get the size down to 3 or 4 kb.


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3444
02/11/2018 1:30 pm  

Thank you @it-billingpayscale-com,

Please navigate to Dashboard > Comments > Settings > Styling admin page enable the "Do not load Font Awesome css lib" option.

Important: please don’t disable this lib if other loaded CSS lib version is lower than 5.0.10.

More info here: 

https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/styling/#fontawesome_lib

 


ReplyQuote
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: