Current time: 12-05-2020, 07:19 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interpreting Results After Implementing Lazy Loading
11-13-2014, 05:41 AM
Post: #2
RE: Interpreting Results After Implementing Lazy Loading
Lazy loading should have the opposite impact on speed index which only looks at the rendering of the above-the-fold part of the page (and it's the best metric for showing the benefits of lazy loading).

Depending on how you are implementing the lazy loading it can have a lot of different impacts.

If you load the images as they scroll into view it can be pretty jarring and there's a chance that the user will see blank space while scrolling (and on mobile it may be even worse if it has to wake up the radio).

If you load the images off of a timer then it may start loading them before the above-the-fold images load.

If you load them based on the load event firing for the above-the-fold images it's possible that the images will still push out onload.

Generally my favorite way to do it is to fire a setImmediate/0ms timeout in the onload handler for the page and load the lazy load images after the page content has finished. The onload metrics will be a good representation of the user experience and the fully loaded time will let you know when the lazy-load images have finished.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Interpreting Results After Implementing Lazy Loading - pmeenan - 11-13-2014 05:41 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)