Sign in

Problem with lazy loading in Safari using the TechNews v.2.0.0.0 template

#882
lma

Hello,

thanks for your comments.

I am running the template on a dedicated remote server. I only have a couple of test blog items created. One of them has several images.

I drilled down a bit to understand what happened. Not sure it’s the lazy loading per say. It might be a problem with the continuous scroll too.

Below are the energy consumption diagrams on my MacBook Air.

1 and 2 show the energy consumed when displaying the page in safari. “On” means that the Publii tab is selected (when the tab is not selected I select another one displaying a standard web page). These two diagrams are to compare with 4 (Firefox). Note that 2 is consuming twice as much as 1 (the lazy loading makes the difference) and that the level of energy represents a very loaded cpu.

Fig 3 shows a sequence where I refreshed the page without placing the cursor on the page and then moved the cursor in a scroll zone on the page. This triggered the energy consumption which did not disappear at the second display, even without the cursor in the zone.

 

Regards

Attachments: