Last edited by simon1066; 20 Aug 2021 at 07:24 AM.
Simon
Ok thanks, will give it a go on my test site and see how it goes.
Thanks, so you see much difference when doing the Google light house test?
I haven't really compared speeds using Lighthouse but as it reduces the number of images loaded on the initial page visit then it will always make a positive difference, how much of a difference will depend on the number of products you are showing on the product listing page (admin > configuration > maximum values > Products Listing- Number Per Page) and the size of those images.
Because I have this plugin I tend to set that value to a high number to reduce (or eliminate) the number of prev/next pages the customer has to navigate.
Simon
Does this not work on "Show All Products" page?
ZC 1.5.0 with 1.5.1 cache maria db 10.x nginx jquery 2.2.4 min
Hi Dear Zen Cart folks,
been sick for a long time but now feeling little better and tried to improve one old site to make it load faster with lazy loader.
I used Diva vocals addons and lazy loading works fine on all pages but checkout_confirmation aka. last step fails. This is related to lazyloader script but there is no error messages on chrome dev tools so I am a bit clueless what could be going wrong. On checkout process there is an submitonce() script added at some point but it has worked earlier fine.
Any help would be highly appreciated to haunt this bug down,
Not strictly an answer to your query but,
I used to use the Lazy Loading plugin but have now switched to the native lazy loading supported by the majority of browsers, saving on the overhead created by the various files the plugin uses.
e.g. in includes/modules/your_template/product_listing.php find
and follow it withCode:class="listingProductImage"
Code:loading="lazy"
Simon
Thank you Simon very much! I must in the future do the same. But now checkout is not working and the site is live so have to dig up what causes it quickly. Old templates and lots of merged files does not make it easy though for me.
Bookmarks