Replies: 7 comments 7 replies
-
There was a discussion from before v1 here #179 I don’t think there’s an immediate plan from the team to add SSG/ISR support, you could get the same results by using Cache Control headers in your routes, Next’s ISR is a Cache Control with the stale-while-revalidate directive with a custom and vendor lock-in API, while the Cache Control header is standard. |
Beta Was this translation helpful? Give feedback.
-
That discussion link only briefly mentions ISR. This should be added to the Framework, as I believe this is a huge reason certain people would prefer NextJS over Remix. The Remix Team claims that ISR is vendor-lock-in, but this is simply not true. Netlify, Firebase, Heroku, Cloud Run, Digital Ocean, etc all support ISR on NextJS. Not only that, NuxtJS has added the feature, and Rich Harris has said SvelteKit will have the feature after 1.0. This is huge as it will not only make revalidation easy (would need an adapter for different environments), but it would save database reads, and be faster. Please add this ability (or something similar to easily use and revalidate J |
Beta Was this translation helpful? Give feedback.
-
I've written a guide on how to do ISR on Remix with normal cache headers. It's not exactly the same as ISR on Next.js, but it gives you all the good bits: on-demand revalidation, TTL, stale-while-revalidate. https://developers.netlify.com/guides/how-to-do-isr-and-advanced-caching-with-remix/ |
Beta Was this translation helpful? Give feedback.
-
This is a great API idea https://x.com/kettanaito/status/1748670984381419736 |
Beta Was this translation helpful? Give feedback.
-
Also it's coming https://x.com/brophdawg11/status/1747402216925704684 |
Beta Was this translation helpful? Give feedback.
-
Any update on this since single fetch has landed? 🙏 |
Beta Was this translation helpful? Give feedback.
-
great news guys, saves me needing to learn astro |
Beta Was this translation helpful? Give feedback.
-
Hey team,
Are there plans to support SSG/ISR?
Beta Was this translation helpful? Give feedback.
All reactions