-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve Core Web Vitals Measurements (esp. Mobile) #1196
Comments
Google Search Console issues some warnings for us about core web vitals:
Web vitals reported in Google Search Console are based on CrUX (Chrome UX) data, which is collected only from Chrome users who have opted in. Some web vitals can be measured "in the lab" with Lighthouse, but there are notable differences: e.g., Lighthouse's doesn't measure FID or INP (it does not "interact") and real users often start with cached data, so their initial load may be faster. In general, at least for the three stable vitals, the vast majority of OCW course pages on both mobile and Desktop rate "Good". (none are "Poor"; a few hundred out of ~15K "Need Improvement"). From the discussion below, I am excluding old Mobile IssuesLoading: Some mobile pages have high LCP, i.e., are slow to load., I don't see any clear difference between these and other pages, but
Responsiveness: Some mobile pages have fairly high INP values, the new interaction responsiveness metric. In particular, Google has flagged:
Determining exactly what interaction is slow is not particularly easy. The web vitals chrome extension can help for some content, but does it cannot report about interactions that occur within an Iframe. (CrUX data does include iframe interactions, since those data are captured at the browser level, not via JS APIs.) For (2) I am suspicious that the Youtube player is the cause, because measuring the player directly on Youtube (which does not have an iframe) is a little slow. Desktop Issue: Cumulative Layout ShiftThe only issue Google noted for desktop users is pages with poor CLS, i.e., the content shifts a bunch during rendering. Based on the URL groups shown in Search Console, I believe there are two cases:
Recommendations
I have no recommendation for the pending INP issue, though tackling it for |
@ChristopherChudzicki Do you think this might be another case for desktop users? The Even after #1213 is fixed, the issue might still exist to a small extent. |
Google Search Console shows some warning regarding core web vitals on Mobile.
The text was updated successfully, but these errors were encountered: