• Resolved simonc17

    (@simonc17)


    When I add esi to a shortcode all images in the dynamically generated cards are no longer lazy loaded which produces an issue in page speed test and a drop in page performance.

    I can see this quite clearly when inspecting each card’s image. Before I add esi I get data-lazyloaded=”1″ and no issue raised by google page speed test and after adding esi I get no data-lazyloaded definition and a page speed test issue.

    Is there some way to enable lazyloading when using esi?

    Thanks.

    • This topic was modified 2 years, 6 months ago by simonc17.
Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    yes, it’s due the nature of ESI , and the way how ESI works , it is a sub-request generated/processed after the main request is sent/rendered by browser , so by that point , all the page optimization process is finished

Viewing 1 replies (of 1 total)

The topic ‘ESI shortcode doesn’t support lazy loading?’ is closed to new replies.