-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query to assess lazy-loading of LCP image #8
Comments
@felixarntz For the second point here, we can take some reference to the query below. What do you say?
https://discuss.httparchive.org/t/lazy-loaded-lcp-images-by-wordpress-version/2455/2 |
Thanks @vishalkakadiya, that's super useful. It actually helps with both questions. I came up with a query based on it that addresses both points. The first part is the most important one anyway. See #28, ready for your review :) |
@felixarntz do we need to address the second point? I see your query works on the LCP element only, and In the second point, we need to find at least one image with |
@kt-12 Thank you for pointing this out. In my opinion, I think any one image with the CC @felixarntz |
@kt-12 Good catch! I should have explained my thinking in the PR, basically I agree with @vishalkakadiya that I don't think we really need this piece of information. I think having the overall number of sites on WP version >= 5.5 is accurate enough, as lazy-loading is enabled by default and it would require a filter to disable it, which is extremely unlikely to be used when looking at scale. |
loading="lazy"
on LCP imagefetchpriority="high"
on LCP image #5 for % of WordPress sites that even have an image as the LCP elementloading="lazy"
The text was updated successfully, but these errors were encountered: