Unverified Commit 19c4eec0 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

docs: fix broken diagram in caching docs (#53414)

Follow up from https://github.com/vercel/next.js/pull/52514.

We're still missing the static and dynamic diagram, it was missed in the PR to `front` to add the original diagrams. We'll need to get that in as well, could be here, or in a follow up.
parent cdbea3e7
...@@ -164,7 +164,7 @@ Alternatively, you can use [Route Segment Config options](#segment-config-option ...@@ -164,7 +164,7 @@ Alternatively, you can use [Route Segment Config options](#segment-config-option
<Image <Image
alt="Diagram showing how time-based revalidation works, after the revalidation period, stale data is returned for the first request, then data is revalidated." alt="Diagram showing how time-based revalidation works, after the revalidation period, stale data is returned for the first request, then data is revalidated."
srcLight="/docs/light/time-based-revalidation.png" srcLight="/docs/light/time-based-revalidation.png"
srcDark="/docs/dark/time-based-revalidatioin.png" srcDark="/docs/dark/time-based-revalidation.png"
width="1600" width="1600"
height="1192" height="1192"
/> />
...@@ -503,7 +503,7 @@ There are two places you can use `revalidatePath`, depending on what you're tryi ...@@ -503,7 +503,7 @@ There are two places you can use `revalidatePath`, depending on what you're tryi
See the [`revalidatePath` API reference](/docs/app/api-reference/functions/revalidatePath) for more information. See the [`revalidatePath` API reference](/docs/app/api-reference/functions/revalidatePath) for more information.
> ** `revalidatePath` vs. `router.refresh`**: > **`revalidatePath` vs. `router.refresh`**:
> >
> Calling `router.refresh` will clear the Router cache, and re-render route segments on the server without invalidating the Data Cache or the Full Route Cache. > Calling `router.refresh` will clear the Router cache, and re-render route segments on the server without invalidating the Data Cache or the Full Route Cache.
> >
......
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