BobbyWibowo
Well-known member
From what I can tell, adding lazyload class will simply apply the default 0 opacity styling. And once it's visible in view, the add-on will kick in and load the image if it's an image element. And once loaded, it'll replace the class with lazyloaded. I assume the add-on presumed the icons as already loaded when it's in view and replace the class with lazyloaded immediately (?).
So technically speaking, it won't "lazyload" the icons, mostly since it's Font Awesome in this case. Font Awesome is a font, and it'll always be downloaded in page load unless you've specifically wrote a script that will defer the fonts load. I can't see any benefit to add the lazyload class of this add-on. It'll only give the fading effect, but that's all there is to it.
So technically speaking, it won't "lazyload" the icons, mostly since it's Font Awesome in this case. Font Awesome is a font, and it'll always be downloaded in page load unless you've specifically wrote a script that will defer the fonts load. I can't see any benefit to add the lazyload class of this add-on. It'll only give the fading effect, but that's all there is to it.