collective / collective.lazysizes

Integration of lazysizes, a lightweight lazy loader, into Plone.
https://pypi.org/project/collective.lazysizes
6 stars 2 forks source link

new `loading='lazy'` attribute available for `<img>` and `<iframe>` #85

Open WestleyArgentum opened 2 years ago

WestleyArgentum commented 2 years ago

There is a new attribute available which makes lazy loading of images and iframes very simple: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading

In our fork of collective.lazysizes we decided to start using this attribute – see here: https://github.com/derFreitag/collective.lazysizes/pull/1

Would you be interested in that functionality also? If so, we could open a PR!