@@ -393,7 +393,7 @@ When configuring the different caching mechanisms, it's important to understand
...
@@ -393,7 +393,7 @@ When configuring the different caching mechanisms, it's important to understand
### Data Cache and Client-side Router cache
### Data Cache and Client-side Router cache
-RevalidatingtheDataCacheina[RouteHandler](/docs/app/building-your-application/routing/route-handlers)**willnot**immediatelyinvalidatetheRouterCacheastheRouterHandlerisn't tied to a specific route. This means Router Cache will continue to serve the previous payload until a hard refresh, or the automatic invalidation period has elapsed.
-RevalidatingtheDataCacheina[RouteHandler](/docs/app/building-your-application/routing/route-handlers)**willnot**immediatelyinvalidatetheRouterCacheastheRouteHandlerisn't tied to a specific route. This means Router Cache will continue to serve the previous payload until a hard refresh, or the automatic invalidation period has elapsed.
- To immediately invalidate the Data Cache and Router cache, you can use [`revalidatePath`](#revalidatepath) or [`revalidateTag`](#fetch-optionsnexttags-and-revalidatetag) in a [Server Action](/docs/app/building-your-application/data-fetching/forms-and-mutations).
- To immediately invalidate the Data Cache and Router cache, you can use [`revalidatePath`](#revalidatepath) or [`revalidateTag`](#fetch-optionsnexttags-and-revalidatetag) in a [Server Action](/docs/app/building-your-application/data-fetching/forms-and-mutations).