Sign in

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #856
    lma

    Hi there,

    I tested the Technews template under Chrome, Firefox and Safari. It works fine on Chrome and Firefox but I experienced a problem with lazy loading on Safari (Mac).

    It looks like if a script was constantly running as the computer heats up when displaying a TechNews web page on safari. I disabled the lazy loading and the energy consumed by the page decreased to a standard value.

    It might come from Safari though, as I know there are incompatibilities with some LL scripts.

    I do not have the problem with other templates.

    I am using Safari 13.0.3 under macOS Catalina version 10.15.1.

    Regards

    #861
    BobBob
    Support

    Hi,

    I’ve tested it on Safari 12.0.3 and I didn’t notice any symptoms you write about.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #866
    champi

    I’m using the same template with Publii 0.35.3 on a gitlab host and have no issue at all on Safari 13.0.3. Here is a tree of my loading files and you can see that lazy load works really good.

    Capture-d’écran-2019-11-27-à-17.10.39

    #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:
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.