Inconsistent results for mobile with pagespeed.web.dev
Hi,
Wonderful package, thanks
We installed it and seems to be working properly in a test site.
However, when testing with PageSpeed Insights, the desktop results improved a lot but the mobile results are still low and the service keeps suggesting to defer offscreen images
Any clues why PageSpeed ignores or doesn't detect the lazy load ?
Your issue sounds a bit odd but it's possible it's due to some CSS, have you verified the lazy loading is working as expected in developer tools? It's always worth verifying lazysizes.js is loaded and also checking the lazyload class is present on the img tags and with scrolling you should be able to see the advance lazy loading working in the network tab of developer tools.
Inconsistent results for mobile with pagespeed.web.dev
Hi, Wonderful package, thanks
We installed it and seems to be working properly in a test site.
However, when testing with PageSpeed Insights, the desktop results improved a lot but the mobile results are still low and the service keeps suggesting to defer offscreen images
Any clues why PageSpeed ignores or doesn't detect the lazy load ?
Thanks in advance
Thanks for the feedback!
Your issue sounds a bit odd but it's possible it's due to some CSS, have you verified the lazy loading is working as expected in developer tools? It's always worth verifying lazysizes.js is loaded and also checking the lazyload class is present on the img tags and with scrolling you should be able to see the advance lazy loading working in the network tab of developer tools.
Hi Jeavon, thank you for your suggestions.
We verified that lazysizes.js loads without errors.
However, there are a lot of images that load immediately and not deferred. Also the format fot those images remains as JPG or PNG instead of webp.
Here is a sample img tag for the images reported in pagespeed.web.dev:
As I said previously, the issue seems to affect only when testing for mobile.
Any help or hint on how to diagnose further will be very appreciated.
thanks in advance
is working on a reply...