Ask HN: Next.js Disable Prefetch for SEO?

1 points by kosolam ↗ HN
So lighthouse reports that preloading the js for next links that next.js automatically performs is increasing the js size too much for lighthouse’s taste. What’s the common practice, to disable it for seo? Or it doesn’t matter for seo?

4 comments

[ 3.1 ms ] story [ 20.9 ms ] thread
This seems a more appropriate question for a Next.js-specific forum than for HN.
I disagree
Well, let's look at the evidence.

- HN has no highly-upvoted posts asking StackOverflow-like questions

- No one has responded to you

- People do respond to such questions on reddit, Discord, and Github issues, and StackOverflow

If you have any evidence, please share.

I would encourage you to consider the real experience[1] of your users instead of just a Lighthouse score. Lighthouse is just one tool to understand performance, but prefetching links often leads to a better user experience. If the end performance is still exceptional as tracked by your Core Web Vitals[2], then it won't affect SEO.

[1]: https://vercel.com/analytics [2]: https://vercel.com/blog/core-web-vitals