Skip to content

docs(fetch): update wording on conflicting cache and revalidate options #80591

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

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

MohammedYehia
Copy link

Clarifies that using conflicting options such as { revalidate: 3600, cache: 'no-store' } results in a warning in the terminal rather than an error.

This change helps accurately reflect the current runtime behavior and avoids misleading readers into expecting a hard failure.

The update improves developer understanding when configuring fetch/cache strategies in their applications.

Clarifies that using conflicting options such as `{ revalidate: 3600, cache: 'no-store' }` results in a warning in the terminal rather than an error.

This change helps accurately reflect the current runtime behavior and avoids misleading readers into expecting a hard failure.

The update improves developer understanding when configuring fetch/cache strategies in their applications.
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Jun 16, 2025
@ijjk
Copy link
Member

ijjk commented Jun 16, 2025

Allow CI Workflow Run

  • approve CI run for commit: 1e7df38

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants