It can be a bit tricky to know which images will be offscreen on initial page load, especially with the highly dynamic nature of the content and the wild variety of screen sizes, not to mention pages that auto-scroll on load (with links like https://site.com/page#ANCHOR).
Still, maybe we can achieve this in at least some cases? Perhaps an option on blocks that render images to add loading=lazy to them would at least make it possible for those cases where we're sure the image won't make it to the initial render, or for images that are optional to the function of the site…
It can be a bit tricky to know which images will be offscreen on initial page load, especially with the highly dynamic nature of the content and the wild variety of screen sizes, not to mention pages that auto-scroll on load (with links like https://site.com/page#ANCHOR).
Still, maybe we can achieve this in at least some cases? Perhaps an option on blocks that render images to add
loading=lazy
to them would at least make it possible for those cases where we're sure the image won't make it to the initial render, or for images that are optional to the function of the site…