Home Forums WoodMart support forum Disable lazy loading for images in specific element Reply To: Disable lazy loading for images in specific element

#330559

EI_Studios
Participant

I have found the reason why the images were not loading in the viewport until scroll, it’s WP Rocket’s Mobile Cache feature. If Mobile Cache is enabled in WP Rocket, it will not load images until you scroll the page on mobile browsers, even for images in the viewport.

I followed your guide at https://space.xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021 and it says specifically:

WP Rocket -> Settings -> Cache -> Separate cache files for mobile devices. Recommended. Activate this option if you use our Mobile DOM optimization option in Theme Settings -> Performance or create a separate page for mobile devices using an appropriate option for particular pages.

Please can you check if you can duplicate this and offer a solution? I want to be able to enable Separate cache files for mobile, since it improves pagespeed insights for mobile considerably.

Thanks.