In this post about Route prefetching in Next.js I see that Normally, a page is downloaded when you follow a link to it. When you use the nextjs component for navigation, Next.js automatically prefetches the JavaScript needed to render the page.
Next.js prefetches only links that appear in the viewport and uses the Intersection Observer API to detect them. It also disables prefetching when the network connection is slow or when users have Save-Data
turned on. Based on these checks, Next.js dynamically injects <link rel="preload">
tags to download components for subsequent navigations.
How is Moovweb XDN’s prefetching different and superior to Next’s built in prefetching?