You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/11/18 18:42:53 UTC

[GitHub] [incubator-pagespeed-mod] Lofesa edited a comment on issue #2051: Pagespeed Insights complain about "Defer offscreen images"

Lofesa edited a comment on issue #2051:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2051#issuecomment-729877988


   Hi
   My 2 cents.... PSI can´t detect lazyloaded images by timings but classes and attributes, if you make your site put attribute `loading=lazy` it will detect as lazyloaded. This attribute is the native lazyload for bronwsers (mainly chrome and firefox). I have no tested how it work with pagespeed.
   I think PSI uses the class lazyload or related to this word. If none of these are present can´t detect the image is lazyloaded.
   Anyway... if I remember the module has a list of bot UA string, or search for "bot" in it. PSI no more has the word bot in their UA, it uses "Ligthouse"
   You can fire an issue here https://github.com/GoogleChrome/Lighthouse/issues


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org