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


   As far as I know, mod_pagespeed can´t set any attribute. If you set it must 
be by other way rather than pagespeed.
   I can´t have tested it, but maybe it malfuntioning. Why? in the attibute is 
in place, brownser load the image viewport + arbitrary size. This arbitrary 
size is harcoded in the browser and, allmost in chrome, the size varies with 
network speed (less speed, more size, because load images need more time).
   In other way, pagespeed do their calculation on how and when a image must be 
downloaded and maybe these 2 things don´t work well toguether.
   I think pagespeed module need to add some way to detect native lazyload 
capabilities in the browser and then do nothing when these cap´s are in place 
or maybe do nothing if the attribute `loading` is in place, but this last 
option is not a good idea with olders brownser. And maybe need to change 
data-pagespeed-lazy-src with data-src and data-srcset, because even if are not 
a standard, "de facto" it is.
   
   
    


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to