Lesson 3.2

Caching and revalidation

Caching is the part people get burned by. Know what layer holds your data, how long it holds it, and which lever invalidates it.

Taught byMira KovacReact · Next.js · Web performance · Rendering
25m Intermediate 11,643 students

Overview

Caching is the part people get burned by. Know what layer holds your data, how long it holds it, and which lever invalidates it.

What this lesson covers

  • Distinguish request-level caching from the full route cache
  • Revalidate on a timer or on demand by tag
  • Opt out deliberately when data must always be fresh

This lesson sits in Data Fetching and Caching, part of Next.js App Router in Depth. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will:

  • Distinguish request-level caching from the full route cache
  • Revalidate on a timer or on demand by tag
  • Opt out deliberately when data must always be fresh

Resources