Hallo everybody,
aiming to score nice, I introduced lazy loading images. I use an inline svg placeholder and set the src attribute to the real image later using JavaScript.
However, it seems there is no way to get around the "above the fold" penalty if you do this. The code
if (window.location.search.indexOf("noswapsrc") == -1) {
img.src = src;
}
The issue can be seen
here.
Just found that for some reason, this issue does not show up
here. This image is responsive. Does that sublte difference make the difference in scoring?
What is the "recommended" way around this penalty?
thanks
Andreas