Commit e35053e8 authored by Luis Fernando Alvarez D's avatar Luis Fernando Alvarez D Committed by JJ Kasper

Improve prefetch docs (#7692)

* added docs for disabling prefetch

* Update packages/next/README.md
Co-Authored-By: 's avatarJJ Kasper <jj@jjsweb.site>
parent cf9762e0
......@@ -839,7 +839,13 @@ Since Next.js server-renders your pages, this allows all the future interaction
#### With `<Link>`
`<Link>` will automatically prefetch pages in the background as they appear in the view.
`<Link>` will automatically prefetch pages in the background as they appear in the view. If certain pages are rarely visited you can manually set `prefetch` to `false`, here's how:
```jsx
<Link href="/about" prefetch={false}>
<a>About</a>
</Link>
```
#### Imperatively
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment