• Resolved gimyd

    (@gimyd)


    Hello everyone! Litespeed for some reason keeps deferring the first image of my website, I have excluded it from the JS excludes and selected in my theme (Astra) to dont LAzy load the first Image but without success.
    This affects my score in terms of LCP in Gtmetrix, any suggestions?

    “Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint.”


    Cursos de Fabricación de Helado Artesanal<img data-lazyloaded="1" src="https://ecah.com.ar/wp-content/uploads/2022/02/women-ecah.fw_-1-738x1024-1…" decoding="async" width="433" height="600" data-src="https://ecah.com.ar/wp-content/uploads/2022/02/women-ecah.fw_-1-738x1024-1…" class="attachment-full size-full wp-image-24472 entered litespeed-loaded" alt="Cursos de Fabricación de Helado Artesanal" loading="lazy" data-srcset="https://ecah.com.ar/wp-content/uploads/2022/02/women-ecah.fw_-1-738x1024-1…" data-sizes="(max-width: 433px) 100vw, 433px" data-ll-status="loaded" sizes="(max-width: 433px) 100vw, 433px"…>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    if it’s image, you probably should use image exclude, instead of JS exclude?

    Thread Starter gimyd

    (@gimyd)

    Excuse me, you’re right, but I used exclude image from media, I even deactivated the lazy load option but for some reason the image still differs.

    Plugin Support qtwrk

    (@qtwrk)

    something added decoding="async" to your image, please remove it

    and also add add_filter( 'wp_lazy_loading_enabled', '__return_false' ); to your functions.php file to disable wp’s own lazyload.

    Thread Starter gimyd

    (@gimyd)

    Well, after going crazy searching, I couldn’t find the way to remove the Async, nor did I know what was generating it, so I went to “the old reliable” as we say in Argentina, and we restarted everything (deactivate and reactivate all plugins, clear all cache and regenerate css files from Astra.)
    And magically, problem solved.

    What was causing it? I have no idea, but deactivating all the plugins and reactivating them seems to have been the solution, as silly as it may seem.

    Plugin Support qtwrk

    (@qtwrk)

    well , things happen , this is what I would call it as : AutoMagically

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Exclide’ is closed to new replies.