WebPagetest Forums
Chrome native lazy loading images not working - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Chrome native lazy loading images not working (/showthread.php?tid=15863)



Chrome native lazy loading images not working - josephscott - 08-10-2019 12:26 AM

Locally using Chrome 76.0.3809.100 I can see the native lazy image loading work fine, without flag changes. However, it doesn't seem to be working for WebPageTest agents - https://www.webpagetest.org/result/190809_QZ_8ffa5004c24af552c8259ab974741476/

Wondering if this is related to headless Chrome.


RE: Chrome native lazy loading images not working - pmeenan - 08-13-2019 12:56 AM

FWIW, Chrome isn't actually headless when run on the Linux agents (it runs in an XVFB virtual desktop for Windows but as far as Chrome knows it is a full desktop window). Maybe one of the flags for running in the test environment is turning off the feature.


RE: Chrome native lazy loading images not working - orangeacme - 08-14-2019 01:23 AM

Adding --enable-features=LazyImageLoading to the Chromium Command-line Custom options works: https://www.webpagetest.org/result/190813_6X_5de619b616075ba0f42f214a1c9f8851/2/details/#waterfall_view_step1


RE: Chrome native lazy loading images not working - MachMetrics - 08-28-2019 01:44 PM

Hot damn! I've heard native lazy loading was planned for Chrome 75....so it's officially supported now?