Maybe a little early still, but why not add support for native lazy-loading to Pro?
https://web.dev/native-lazy-loading/
https://css-tricks.com/a-deep-dive-into-native-lazy-loading-for-images-and-frames/
Maybe a little early still, but why not add support for native lazy-loading to Pro?
https://web.dev/native-lazy-loading/
https://css-tricks.com/a-deep-dive-into-native-lazy-loading-for-images-and-frames/
Browser compatibility isn’t quite there just yet to use that spec, but we have been keeping an eye on it! Kory and I were actually discussing that web.dev article last month sometime. This is something we’re interested in solving. Most likely won’t be until we get to the Theme Options reboot.
I understand. It would be safe to use now since it’s a progressive enhancement. Those with browsers that support it will benefit from it and those who don’t use a supported browser won’t be negatively affected. Happy to know it’s something you’ve already thought about
Do you think it might also be usable inside the builders? Could speed up loading image heavy pages in the content builder.
Native Lazy loading is great, but In the order of things, since it can be achieved with plugins, I’d be more interested in the native srcset
inside the Image element first.
@JvP Because we try to make the preview as close to possible as the front end I imagine it would just work the same way, offering the same benefit inside the preview frame.
@Misho, this is another one we have on the radar for the theme option reboot update.
Awesome, looking forward to it!
Bump
I think this loading
attribute is already in use. srcset
is something we can look at after 6.3. I see some other requests for it.
Awesome, specifically srcset improvements would be fantastic.