Next.js ISR ( Incremental Static Regeneration ), how to rebuild or update a specific page manually or dynamically before the interval/ISR time start?

currently next.js doesn’t have a native feature for rebuilding a static page manually.

here is a workaround you can refer to.

and next.js team is actively working on this topic, you can refer to this RFC

2022/04/07 update

on-demand-isr is in beta

https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta

Leave a Comment