You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Diary and other user provided content frequently includes rather large external images, which slows down page loading. We could force lazy loading of these assets by adding a loading="lazy" attribute to img tags, as described here: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading
The change is rather small, but I'm not sure if this doesn't cause unwanted side effects. Does anyone have any opinion on this topic?
On a website from me I added this HTML property to all user added images (inline images in a blog like page).
Invisible images (down a few pages) are not loaded till the user scrolls down. The browser is smart enough to fetch them early enough, so even if the image size is not known initially the reflow is not visible.
To summarize: I am pretty sure this will have no downside but will be good with many scenarios.
Diary and other user provided content frequently includes rather large external images, which slows down page loading. We could force lazy loading of these assets by adding a loading="lazy" attribute to img tags, as described here: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading
The change is rather small, but I'm not sure if this doesn't cause unwanted side effects. Does anyone have any opinion on this topic?
The text was updated successfully, but these errors were encountered: