Next.js Discord

Discord Forum

decrease DOM size without missing out on SEO

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Avatar
Spectacled bearOP
I get an [Avoid an excessive DOM size](https://developer.chrome.com/docs/lighthouse/performance/dom-size/?utm_source=lighthouse&utm_medium=lr) feedback from Google Pagespeed Insights.

Currently I have a list of 2022 internal links on the home page.
And I'd like to keep them there, server-side generated so that Google uses them for SEO rankings.

Is there a way to decrease the DOM size without compromising on SSG - so that Googlebot will still have access to the complete pre-rendered HTML during crawls?
Image

0 Replies