-
Notifications
You must be signed in to change notification settings - Fork 65
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
Archive: Preload first image -- Core Web Vitals #1268
Comments
Hi @laurelfulford, This is a really big problem with Core Web Vitals scores at archive pages on mobile devices. PageSpeed Insights for example for https://mosmedpreparaty.ru/semaglutid-semaglutide has generated a list of opportunities, which contains suggestions about Preload Largest Contentful Paint image. Here you can save an impressive 0.48 s. According to a just completed check of Core Web Vitals in Google Search Console, ALL pages with archives (categories and tags) need to optimize the loading of the very first image. There are quite a few methods on how to do this, see: https://perishablepress.com/3-ways-preload-images-css-javascript-ajax/ However, since my images are processed by Jetpack CDN and get the https://i1.wp.com/mosmedpreparaty.ru/wp-content/uploads/2020/08/ozempic.jpg?zoom=2&resize=1200%2C819&ssl=1 link format, I have no control over the preloading. In addition, it's interesting to see how featured image positioning in post affects Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS) scores on mobile devices. Let's run the corresponding tests within PageSpeed Insights that show the relationship between https://mosmedpreparaty.ru/news/18587 Large: 1.7 s -- 0 -- 99 https://mosmedpreparaty.ru/news/22041 Large: 1.5 s -- 0 -- 100 As you can see, the lowest performance in PageSpeed Insights is for posts whose featured image is Please help me to solve this issue. I hasten to point out that very soon Core Web Vitals will become unequivocally critical and primary for ranking in Google search results. |
Hi @laurelfulford! A possible solution is suggested here -- wp-media/wp-rocket#3626 The code is as follows:
I'm not sure exactly where it should (and can?) be used. |
On archive pages (categories and tags) it would be optimal to add
rel="preload" as="image"
to the first image.Now, after the Google December 2020 Core Update, Core Web Vitals metrics are more important than ever.
In any case, Google PageSpeed suggests a significant reduction in LCP: Preload Largest Contentful Paint image.
Moreover, Google is announcing Core Web Vitals will become ranking signals in May 2021.
For categories, see for example:
https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fmosmedpreparaty.ru%2Fnews%2Fclinical-trials
For tags, see for example:
https://developers.google.com/speed/pagespeed/insights/?hl=en&hl=en&url=https%3A%2F%2Fmosmedpreparaty.ru%2Fsemaglutid-semaglutide
https://developers.google.com/speed/pagespeed/insights/?hl=en&hl=en&url=https%3A%2F%2Fmosmedpreparaty.ru%2Fpfajzer-pfizer
The text was updated successfully, but these errors were encountered: