dkern / jquery.lazy

A lightweight, fast, feature-rich, powerful and highly configurable delayed content, image and background lazy loading plugin for jQuery & Zepto.
http://jquery.eisbehr.de/lazy
Other
1.02k stars 236 forks source link

Google PageSpeed #249

Closed methnen closed 2 years ago

methnen commented 3 years ago

I'm having an issue and hoping someone else here might understand/know what's happening. I've got a site where we're using jquery.lazy and it's working great.

EXCEPT that Google PageSpeed doesn't seem to notice that the images are being lazy loaded.

We're loading the images as background images.

But the Google PageSpeed stuff sees them as already loaded even though I can verify that they are indeed lazy loading when I hit the page.

I normally wouldn't care but we've got someone on staff who'd really like to see the mobile score above 50 and this is one of the last things that's causing us to sometimes drop below that threshold.

Any help would be greatly appreciated.