Next 12.1.0 was released in the last few days and it provides support for On-demand Incremental Static Regeneration (ISR): Blog - Next.js 12.1 | Next.js. Obviously this is a very recent change so completely reasonable that it’s not yet supported by Netlify’s Essential Next.js plugin but I’d love to know whether you have a rough timeline for supporting that on-demand ISR feature. Massive thanks in advance for any answer you’re able to provide, and have a wonderful start to the week!
PS: I’m assuming that Netlify doesn’t currently support this feature as I’ve implemented it in a Next.js project that’s currently in development and can see it working locally. The project is deployed on Netlify and while the new API endpoint executes on Netlify and returns a successful response (I can see it run within the “Functions” view for my site in the Netlify backend), it doesn’t actually trigger a revalidation/rebuild for the specified page(s). As such, I imagine there are some Netlify platform or plugin updates that will be required before this feature is fully supported - please let me know if that’s not the case though and there is an existing method to get on-demand ISR working on Netlify. A huge thanks for all the great work you all do, and any light you can shed on this!
At the moment, that feature would need some platform-level support and the plugin alone can’t do much. Thus, we don’t have a timeline as such but we would follow up if we’ve any updates.
Just to confirm, this is something you are actively working on, correct?
hi there! I can share that yes, we are actively working on a solution to achieve on-demand ISR. I can’t share more details or even a tentative timeline at the moment, but we will absolutely be posting about it as we get closer.
Do we have any updates on this?
Thanks in Advance.
Unfortunately, not at the moment @VijayT.
Commenting as a way to track the status here. Have been trying on-demand revalidation out this week only to realize it’s not supported yet on Netlify. Patiently waiting
adding my voice, for this feature that will scale our app development and decrease unnecessary build trigger to update fraction of our app pages.
Seconding this request. On-Demand ISR looks like a GREAT feature. Any updates for us, Netflify team?
Nothing too concrete or celebration-worthy at the moment @Zetrick, but this is on our short-term roadmap - something that our teams have been working on.
Much looking forward to this!
In our case we allow users to publish and edit notes with a native app + a NextJS web app for the published notes to be accessed by anyone. Being able to trigger invalidation this way is critical for us to ensure the Next app always serves fresh published content after a user edits it in the app. We’re almost ready to release though only understood recently Netlify didn’t support manual ISR just yet… fingers crossed! Will be exploring alternative hosting options until then
Thank you for elaborating here, @daformat! I have sent your feedback directly to our product team.
I just pushed code for on-demand incremental static regeneration (ISR) to the platform today–all excited. But then I was disappointed to see it didn’t work.
Netlify is awesome. I’m sure you guys are working on supporting this. Looking forward to it.
This remains one of our top priorities at the moment and are working hard towards adding this functionality.
Been another month here. As this is now on the short-term roadmap, any chance of a timeline?
I don’t have a timeline, but this is something we are working on releasing in the future.