Skip to content
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

patch asyncStorage for ISR and fetch #503

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

conico974
Copy link
Collaborator

ISR request are treated as On demand revalidation by Next, and it makes the fetch data cache not work as expected (the fetch cache is bypassed for every ISR revalidation request)
Should fix #493

I'm not a very big fan of this solution but we either do that or patch some files in Next code itself and it's probably even worse.

Copy link

changeset-bot bot commented Sep 1, 2024

🦋 Changeset detected

Latest commit: 836cff4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
open-next Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 2:06pm

Copy link
Collaborator

@khuezy khuezy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks crazy to me

@conico974 conico974 merged commit 1b87222 into sst:main Sep 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenNext Ignores force-cache Option on fetch Requests (Data Cache Behavior Differs from Vercel)
2 participants