4 ms·
Ask HN: Next.js Disable Prefetch for SEO?
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?
- smt88 5y agoThis seems a more appropriate question for a Next.js-specific forum than for HN.
- kosolam 5y agoI disagree
- smt88 5y agoWell, 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.
- leerob 5y agoI 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 https://vercel.com/analytics [2]: https://vercel.com/blog/core-web-vitals https://vercel.com/blog/core-web-vitals