opennextjs / opennextjs-aws

Open-source Next.js adapter for AWS
https://open-next.js.org
MIT License
3.9k stars 119 forks source link

patch asyncStorage for ISR and fetch #503

Closed conico974 closed 3 weeks ago

conico974 commented 3 weeks ago

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.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 836cff476a6f682d367bb5e66db3de79e2c1baa5

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

vercel[bot] commented 3 weeks ago

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