nextjs - 💡(How to fix) Fix Docs: ISR page does not mention cacheComponents [6 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vercel/next.js#91951Fetched 2026-04-08 01:35:34
View on GitHub
Comments
6
Participants
2
Timeline
8
Reactions
0
Author
Participants
Assignees
Timeline (top)
commented ×6assigned ×1issue_type_added ×1
RAW_BUFFERClick to expand / collapse

What is the documentation issue?

ISR is not useable with cacheComponents: true. The page should mention that and reference the 'Caching' and 'Caching (Previous Model)' pages to be explicit. Or even change the page name to: ISR (Previous Model).

Is there any context that might help us understand?

n/a

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/guides/incremental-static-regeneration

extent analysis

Fix Plan

To address the documentation issue, we need to update the ISR page to mention the incompatibility with cacheComponents: true. Here are the steps:

  • Update the page title to "ISR (Previous Model)" for clarity.
  • Add a note about the incompatibility with cacheComponents: true.
  • Reference the 'Caching' and 'Caching (Previous Model)' pages for more information.

Example code snippet to add to the page:

### Important Note
ISR is not compatible with `cacheComponents: true`. For more information on caching, see our [Caching](https://nextjs.org/docs/app/guides/caching) and [Caching (Previous Model)](https://nextjs.org/docs/app/guides/caching-previous-model) pages.

Verification

To verify the fix, check the updated page for the added note and references.

Extra Tips

When updating documentation, ensure to test links and references for accuracy. Additionally, consider adding a warning or deprecation notice for users who may be affected by the incompatibility.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING