@@ -828,6 +828,8 @@ Since Next.js server-renders your pages, this allows all the future interaction
...
@@ -828,6 +828,8 @@ Since Next.js server-renders your pages, this allows all the future interaction
> With prefetching Next.js only downloads JS code. When the page is getting rendered, you may need to wait for the data.
> With prefetching Next.js only downloads JS code. When the page is getting rendered, you may need to wait for the data.
> `<link rel="preload">` is used for prefetching. Sometimes browsers will show a warning if the resource is not used within 3 seconds, these warnings can be ignored as per https://github.com/zeit/next.js/issues/6517#issuecomment-469063892
#### With `<Link>`
#### With `<Link>`
You can add `prefetch` prop to any `<Link>` and Next.js will prefetch those pages in the background.
You can add `prefetch` prop to any `<Link>` and Next.js will prefetch those pages in the background.