Tagged: lazy loading
Hey guys,
Just a couple of questions about lazy loading.
First, since WP 5.9 hugely improved WordPress’ default lazy loading to exclude the first image on the page (and filters to exclude more – https://make.wordpress.org/core/2021/12/29/enhanced-lazy-loading-performance-in-5-9/ ) I just wanted to know if Enfold’s implementation of lazy loading takes advantage of this, and if the theme templates will be/have been updated for instances where there are more than one image at the top of the page?
Second, is lazy loading enabled for shop/product pages, and if not is there a way to do it? From what I can see it isn’t, even though it is enabled in the Theme Settings. (I know you can use plugins, but we have one client site that is a bit restrictive and we may need to use the default WP/Enfold lazy loading instead of our usual LiteSpeed solution).
Thanks for your work
Regards
Tim
Hey Tim,
WordPress’ default lazy loading
Thanks for pointing at this. For most ALB elements you can disable/enable lazy loading – this should allow more control than the WP implementation taking the first (or with filter a custom number) image only.
Standard templates have not been updated.
Taking a quick look – we did not implement any lazy loading logic in config-woocommerce\config.php yet. And the ALB elements use standard WC templates.
I’m afraid there is no quick solution at the moment.
I will add this to our dev repo to take a closer look – but I cannot provide an ETA at the moment.
Best regards,
Günter
Ok thanks Gunter, I appreciate you taking a look at it.
Regards,
Tim