Unverified Commit 4d652f71 authored by kevinmitch14's avatar kevinmitch14 Committed by GitHub

docs: update staleTimes.mdx (#72967)

Fix mdx formatting. 

Previously MDX was not formatted correctly. (see image - `prefetch=`)

https://nextjs.org/docs/app/api-reference/next-config-js/staleTimes

<img width="659" alt="Screenshot 2024-11-19 at 15 11 57"
src="https://github.com/user-attachments/assets/44f77fd4-657e-409a-9190-9430fd96d5f8">

---------
Co-authored-by: 's avatarDelba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
parent 2fcb741d
...@@ -24,7 +24,7 @@ module.exports = nextConfig ...@@ -24,7 +24,7 @@ module.exports = nextConfig
The `static` and `dynamic` properties correspond with the time period (in seconds) based on different types of [link prefetching](/docs/app/api-reference/components/link#prefetch). The `static` and `dynamic` properties correspond with the time period (in seconds) based on different types of [link prefetching](/docs/app/api-reference/components/link#prefetch).
- The `dynamic` property is used when the page is neither statically generated nor fully prefetched (i.e., with prefetch={true}). - The `dynamic` property is used when the page is neither statically generated nor fully prefetched (e.g. with `prefetch={true}`).
- Default: 0 seconds (not cached) - Default: 0 seconds (not cached)
- The `static` property is used for statically generated pages, or when the `prefetch` prop on `Link` is set to `true`, or when calling [`router.prefetch`](/docs/app/building-your-application/caching#routerprefetch). - The `static` property is used for statically generated pages, or when the `prefetch` prop on `Link` is set to `true`, or when calling [`router.prefetch`](/docs/app/building-your-application/caching#routerprefetch).
- Default: 5 minutes - Default: 5 minutes
......
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