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/19 18:29:13 UTC

[GitHub] [incubator-pagespeed-mod] patrickhulce commented on issue #2051: Pagespeed Insights complain about "Defer offscreen images"

patrickhulce commented on issue #2051:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2051#issuecomment-730557285


   Hey there, Lighthouse maintainer here 👋 
   
   This does appear to be a bug in mod_pagespeed from our perspective. When loading the provided URL locally, all of the very offscreen images (even ones in a carousel that are offscreen) are loaded.
   
   ![image](https://user-images.githubusercontent.com/2301202/99707557-3805d500-2a62-11eb-9ebf-11fd37e37e16.png)
   
   I'm not entirely sure how it's supposed to work and the beaconing system sounds very impressive, but at least in this situation it doesn't appear to be entirely effective for preventing offscreen images from being downloaded for at least some portion of users. The `loading=lazy` attribute would be an easy solution, but any approach that prevents these offscreen images from being downloaded before scripts can finish is a win IMO :) 


----------------------------------------------------------------
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