[…] I came across an article about lazy loading, a technique to defer the loading of website content to the moment it is actually needed. […] Here, in the project forum, it is no issue at all. But it is possible, that the use of images is a serious issue in other instances.
[…] native browser support is available for most of the browsers. We would only need to add the attribute `loading="lazy"` to some or all of the image elements that gets created in the function
Any thoughts, pros or cons?
I don’t use it my forum but in my private photography site for a while. To lazy [pun!] too search but there was a discussion back in the day on the SELFHTML Forum. If you use it without a
height- and possibly a
width-attribute, it is not clear how ‘large’ the page actually will be. Normally you can estimate that from the scrollbar(s). Hence, having it is fine but at least with
Alfie (Helmut Schütz)