Skip to content

Commit

Permalink
Add preload notice (#6532)
Browse files Browse the repository at this point in the history
Fixes #6517
  • Loading branch information
timneutkens authored Mar 5, 2019
1 parent 861edad commit e10096c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

> `<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>`

You can add `prefetch` prop to any `<Link>` and Next.js will prefetch those pages in the background.
Expand Down

0 comments on commit e10096c

Please sign in to comment.