On-demand Incremental Static Regeneration with Next.js & Hygraph

Bassem Allani
JavaScript in Plain English
4 min readJul 23, 2022

--

Photo by AltumCode on Unsplash

For my personal website, I’m using Hygraph (aka GraphCMS) as a headless CMS. I’m using Server-Side Rendering (SSR) to fetch and generate the static page routes and content.

Next.js allows us to update the static pages after the application is built. Thanks to the Incremental Static Regeneration (ISR), we can use static generation on a per-page basis…

--

--

👨‍✈️ Airline Pilot, 👨🏻‍💻 Software Engineer, 👨🏻‍🎨 Designer, 🪄 Magician & 🎵 Musician. https://nextglabs.com