Next.js 13: fetching

children

Dynamic data fetching

  • Dynamic data fetching will skip the cache, refetch the data and re-render each page at request time.
  • When setting the cache to `no-store` you will ask Next.js to always render the page on the server at each request.
  • Using dynamic functions such as cookies() and headers() will automatically opt-in dynamic fetching.
By