Skip to content

Docs: Improve "use cache" and cacheLife API references #78024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 10, 2025

Conversation

delbaoliveira
Copy link
Contributor

@delbaoliveira delbaoliveira commented Apr 10, 2025

Decoupling from: #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

@ijjk ijjk added created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. labels Apr 10, 2025
Copy link
Contributor

github-actions bot commented Apr 10, 2025

All broken links are now fixed, thank you!

@delbaoliveira delbaoliveira merged commit 5b243a2 into canary Apr 10, 2025
55 checks passed
@delbaoliveira delbaoliveira deleted the docs-use-cache-improvements branch April 10, 2025 13:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants