From 05dbd9a8a2dc5679f92688a96a7bf7db14e5b746 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Date: Sun, 27 Aug 2023 02:33:15 +0100 Subject: [PATCH] Docs: Update Edge runtime and data revalidation information (#54499) Fixes: https://vercel.slack.com/archives/C042LHPJ1NX/p1692666204185669 --------- Co-authored-by: JJ Kasper --- .../02-data-fetching/01-fetching-caching-and-revalidating.mdx | 2 -- .../03-rendering/04-edge-and-nodejs-runtimes.mdx | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx index 15e3280fe8da..b24539de1a2a 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx @@ -115,8 +115,6 @@ If you have multiple fetch requests in a statically rendered route, and each has Learn more about [time-based revalidation](/docs/app/building-your-application/caching#time-based-revalidation). -> **Good to know:** Revalidation only works with the [Node.js runtime](/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes#nodejs-runtime) (default). - #### On-demand Revalidation Data can be revalidated on-demand by path ([`revalidatePath`](/docs/app/api-reference/functions/revalidatePath)) or by cache tag ([`revalidateTag`](/docs/app/api-reference/functions/revalidateTag)) inside a Route Handler or a Server Action. diff --git a/docs/02-app/01-building-your-application/03-rendering/04-edge-and-nodejs-runtimes.mdx b/docs/02-app/01-building-your-application/03-rendering/04-edge-and-nodejs-runtimes.mdx index fe6dda871005..6029fabff3ad 100644 --- a/docs/02-app/01-building-your-application/03-rendering/04-edge-and-nodejs-runtimes.mdx +++ b/docs/02-app/01-building-your-application/03-rendering/04-edge-and-nodejs-runtimes.mdx @@ -27,7 +27,9 @@ There are many considerations to make when choosing a runtime. This table shows | Security | Normal | High | High | | Latency | Normal | Low | Lowest | | npm Packages | All | All | A smaller subset | -| Revalidation | Yes | Yes | No | +| [Static Rendering](/docs/app/building-your-application/rendering/server-components#static-rendering-default) | Yes | Yes | No | +| [Dynamic Rendering](/docs/app/building-your-application/rendering/server-components#dynamic-rendering) | Yes | Yes | Yes | +| [Data Revalidation w/ `fetch`](/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#revalidating-data) | Yes | Yes | Yes | ### Edge Runtime