CLS Impacting our SEO

AI-generated summary

The discussion, titled ‘CLS Impacting our SEO,’ addresses a sudden increase in Cumulative Layout Shift (CLS) issues affecting SEO performance, particularly on URLs with ?page=X query strings. npearson99 reports a sharp rise in poor CLS scores in Google Search Console starting September 3rd, 2024, with over 5,000 affected URLs. The issue appears to stem from background-color animations during topic navigation, a behavior that has existed for years but is now flagged due to updated CLS measurement by Google/Chrome. david confirms the issue and explains that the animation will be removed via a fix linked here, which will improve performance and resolve CLS problems. The fix is deployed on Meta and will be applied to the user’s site. npearson99 confirms the fix is live and observes the animation has stopped, though Google Search Console has not yet updated the scores.

I found a similar issue that Discourse said was fixed but I think we’re experiencing the same problem: ?page=n URLs have high CLS hence bad SEO

We have an issue: On September 3rd, 2024, our Search Console core web vitals started giving us many poor-performance URLs because of CLS of > .25

We went from 0 to 5,179 in a day.

It seems like these are only for URLs that have a “?page=X” in the query string. Here is an example: Factor Meals, anyone done them? Looking at the first shipment, and wow - #20 by Deleteme - Nutrition - TrainerRoad

Keen to get this fixed, thanks!

Thanks for the report @npearson99. I can reproduce the problem, and we’ll work on getting a fix ASAP.

We see the same sudden increase in CLS failures for meta.discourse.org, starting 9th November. Digging in, it seems to be related to the way we animate the background-color of posts when you navigate into a topic. That behaviour has been the same for 5+ years, so that suggests to me that this is a change to google/chrome’s measurement of CLS, rather than a change on the Discourse side.

We’ve decided to drop the animation in question. That should improve navigation performance on lower-spec devices, as well as resolve the CLS issue.

That change will land on Meta imminently, and I’ll get it queued up for your site as well @npearson99.

Wow, you’re the best! Thank you!

Can you drop a message here when it’s live, please? I’d like to confirm that we go under the .25 on Search Console when it’s live.

Edit: It looks like it’s live; I don’t see the animation anymore. I think Google just hasn’t updated the page’s score yet. I’ll continue to monitor.

Thanks!