Site logo

Archived topic

Lazy loading DIV when using a inline style background image in the viewport

1 reply · Started by Rostyslav on June 24, 2022

Viewing posts 1–2 of 2

Hello, when I add a background inline style image, Autoptimize is lazy loading a DIV. Should I leave it like that or exclude that image from lazy loading? https://ibb.co/f00nBv5

Hi Rostyslav,

If an element is above the fold, it’s not advisable to set it to lazy load.

So if you can exclude it, that would be ideal.

Hope this clarifies.

This archived topic is closed to new replies.