
4/26/2022
What this post added
This post introduces on-demand Incremental Static Regeneration (ISR) for Next.js, allowing for selective cache invalidation of specific pages via an API call. It details how HashiCorp uses ISR for managing documentation content at scale, deferring generation of less-visited pages and propagating content changes without full rebuilds. The integration with GitHub Actions and Vercel deploy hooks for triggering on-demand ISR based on file changes is also discussed.