Dynamic IO
An experimental Next.js 15 mode in which data access is dynamic by default and you opt into caching with use cache.
In more detail
It reverses the old model, where things were cached unless you opted out. It was renamed cacheComponents in Next.js 16.
Related terms
- 'use cache' — A Next.js directive that caches the result of a function, component or whole route, with its arguments forming the cache key.
- I/O — Input and output: any time a program reads or writes data outside its own memory, such as files, networks or the terminal.
- cacheLife — A Next.js function used inside use cache that sets how long the result stays fresh, when it revalidates and when it expires.
Taught in
- Revalidation Strategies: revalidatePath & Cache Life — Next.js 15 & Modern App Router Architecture