Docs: Improve `"use cache"` and `cacheLife` API references (#78024)
Decoupling from: https://github.com/vercel/next.js/pull/73437 - Add "How `use cache` works" section - Clarify cache keys inputs - Describe what happens during build, runtime, and revalidation - Correct the default values for the `cacheLife` profiles - Add the default time for `expireTime` - Add note about `staleTimes` and `expireTime` affecting the default cache profile
Showing
This diff is collapsed.
Please
register
or
sign in
to comment