Improve Cumulative Layout Shift (CLS)

I got a warning message about Cumulative Layout Shift (CLS) from Google.

The point should be less than 0.1 per page, but more than 2,000 pages of my discourse site indicate more than 0.25, which is not recommended by google.

Will Discourse deal with this in the future update?

Or this has nothing to do with Discourse?

3 个赞

Yes, can confirm, this is an issue for my discourse site as well. Going to be a pain in the *** to fix given the dynamic content…

2 个赞

您有广告在运行吗?

我看到此类警告有所增加,但我认为这是广告,它们往往会导致最多的布局偏移,跳跃。