Hello!
I've been optimizing my site that contains ElfSight and really, theres a big problem between pagespeed and elfsight.
Problem that would be way less of one if the images could be loaded with a lazyload (just add loading="lazy" to the image tag) and an alt.
Would it be possible to do so?
Hello folks!
Big news is coming — lazy load beta version for embedded widgets is here! 😍
It doesn't work as a built-in option yet due to a couple of unresolved matters, but you can adjust your widget manually in order to make it work :)
Although this solution applies to the whole widget, we still believe it might work for you.
To turn it on, please add the “data-elfsight-app-lazy” attribute to a <div> element in your installation code.
For example, here’s how the code looks like initially:
And here’s how it should look like with the attribute added:
Please keep in mind that it will work only for widgets which are not in the initial viewport (e.g. users have to scroll down at least for a little bit before they reach the widget).
Please let us know if it worked on your end and what you think about this option 🙂
I have the same problem with Pagespeed analysis and Elfsight. Pulling in an Elfspeed feed is taking 6509ms in CPU time, 2932ms script evaluation and 73ms for script parsing. This is way way too slow. As a minimum, this needs to occur asynchronously (beneath the fold) and not slow down what the user sees. Common, elfsight, provide a workable solution.
Hello ,
Thank you for adding your idea!
We will try our best to look into the issue and improve the widget behavior. Thanks a lot for the details provided - we'll try our best to consider them.
Thanks a lot for helping us!
Helga, Community Manager
Keep up with latest updates - Facebook
Get to know our team - Instagram