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 2019/10/21 15:25:02 UTC

[GitHub] [incubator-pagespeed-ngx] Lofesa edited a comment on issue #1665: lazyload_images always disabled

Lofesa edited a comment on issue #1665: lazyload_images always disabled
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1665#issuecomment-544566237
 
 
   Hi @dpeca 
   As far as I can see, the filter is enabled cause it is listed in the debug messages.
   Lazy_load (and others filters) need a bunch of hits to work. This filter need hits to calculate what images are above the fold in what screen sizes so need to have some beacons to see the images that are visibles, what images are in the next visible area and load these images and delay the rest.
   Until the filter had enougth information to do this work, the filter is disabled.
   Some filters need [beaconing](https://www.modpagespeed.com/doc/config_filters#beacons) enable, by default is enabled, but try to expressly enable it.
   The lazy load filter loads all images when the onload event is fired, to disable it try [this](https://www.modpagespeed.com/doc/filter-lazyload-images#lazyload-after-onload)
   
   And try to set the auth domain:
   
   pagespeed Domain http*://*.example.com;

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


With regards,
Apache Git Services