Router Cache

The fourth Next.js caching tier: the browser keeps RSC payloads of visited and prefetched route segments in memory for instant navigation.

In more detail

Back and forward navigation and shared layouts reuse it. In Next.js 15 page segments are not reused for dynamic routes by default (stale time 0), while static prefetched routes stay for five minutes. It is cleared by a full reload, router.refresh() or revalidation in a Server Action.

Related terms

Taught in

References