• Resolved lyden

    (@lydenyardley)


    Hi Gijo,

    At some point between v1.1.1 and 1.2.3, something has broken.

    To reproduce:

    1. Install latest plugin v1.2.3
    2. Open Chrome Dev Tools > Network > Images
    3. Go to https://staging2.yardley.digital
    4. Scroll a little and watch extra images be loaded
    5. Scroll back up past that threshold and down again, and you’ll see the images be reloaded over and over again

    This doesn’t happen in v1.1.1 (see https://yardley.digital)
    Please can you investigate?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @lydenyardley Thanks for reporting the issue.

    Unfortunately, I’m not able to reproduce the issue. I tried in both Chrome and Firefox. No images are downloaded multiple times.

    Any specific image or all images are loaded again and again?

    Thread Starter lyden

    (@lydenyardley)

    All images. Here’s my attempt at screencasting what I’m seeing:

    https://drive.google.com/file/d/1_10Y4rAGWkakILzlnymy6wUy_sP49qYZ/view?usp=sharing

    Sincerely,
    Lyden

    Plugin Author Gijo Varghese

    (@gijo)

    @lydenyardley That looks weird!

    1) Which version of Chrome are you using?
    2) Are you able to reproduce the issue on Firefox? Or is it just Chrome?
    3) Can you try it on Incognito window (without any extensions enabled) and see if the issue persists?
    4) Also, can you pls test wpspeedmatters.com and see if there is a similar issue?

    Thread Starter lyden

    (@lydenyardley)

    Hi again @gijo,

    1) Just updated to latest Chrome and retested – v78.0.3904.70
    1a) Also running on MacOS latest version
    2) BUG is only in Chrome. I tested Firefox and Opera, and they run fine (JS fallback version I’m assuming)
    3) Incognito Chrome = the same results
    4) Same results on your website too. Yours is actually worse. Look at this: https://drive.google.com/open?id=1B2yfZp6dlOnQWrV4aazVi-t92XkHijTp

    Sincerely

    Plugin Author Gijo Varghese

    (@gijo)

    @lydenyardley Thanks a lot. I was able to reproduce the issue. In my dev tools “Disable cache” was unchecked. It seems to be appearing when it’s checked.

    When a normal user visits the site, the cache is enabled, so it won’t be an issue for visitors.

    But I’ll figure out the root cause and fix it soon.

    Again, thanks a lot for reporting and providing valuable info.

    Plugin Author Gijo Varghese

    (@gijo)

    @lydenyardley Fixed in v1.2.5!

    Thread Starter lyden

    (@lydenyardley)

    Good man! What was causing it? I see the changelog hasn’t been updated yet…

    Plugin Author Gijo Varghese

    (@gijo)

    @lydenyardley there was an update which watches dynamic content updates. That one was setting the src attribute multiple times. It’s not an issue for JS-based lazy loading. But on native lazy loading, Chrome is downloading it again and again. I’ve fixed it via JS, but I doubt it’s a bug from Chrome too. I’ll report it to them.

    I’ve already updated the changelog. Maybe it will take some time to get it visible

    Thread Starter lyden

    (@lydenyardley)

    Thanks so much @gijo

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘BUG: Images loading over and over again’ is closed to new replies.