Chapter 03
Cache Components
Theuse cache directive and Cache Components: how cache keys are built, what cached functions can read, cacheLife profiles, the private and remote variants, and how they differ from React's cache and unstable_cache.- 010What does
use cachecache, and how is its cache key built?Corehard - 020Why can't a cached function read
cookies(), and how do you pass request data into one?hard - 030How do
cacheLifeprofiles map to stale, revalidate and expire times?medium - 040When do you need
use cache: privateoruse cache: remote?hard - 050How does
use cachediffer from React'scacheand fromunstable_cache?medium