From 4d652f71aabc7738a9c0c008b67112b5835e54b9 Mon Sep 17 00:00:00 2001 From: kevinmitch14 <55989505+kevinmitch14@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:06:29 -0300 Subject: [PATCH] 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 Screenshot 2024-11-19 at 15 11 57 --------- Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> --- .../03-api-reference/05-config/01-next-config-js/staleTimes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01-app/03-api-reference/05-config/01-next-config-js/staleTimes.mdx b/docs/01-app/03-api-reference/05-config/01-next-config-js/staleTimes.mdx index df7336616e790..d00663781e2f8 100644 --- a/docs/01-app/03-api-reference/05-config/01-next-config-js/staleTimes.mdx +++ b/docs/01-app/03-api-reference/05-config/01-next-config-js/staleTimes.mdx @@ -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 `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) - 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