WebPagetest Forums

Full Version: Chrome native lazy loading images not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/19080...974741476/

Wondering if this is related to headless Chrome.
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.
Adding --enable-features=LazyImageLoading to the Chromium Command-line Custom options works: https://www.webpagetest.org/result/19081...view_step1
Reference URL's