Instant Cache Updates Without Full Rebuilds: On-Demand ISR with Contentful Webhooks in Next.js 16
How a single /api/revalidate endpoint keeps 24-hour cached blog posts, the blog index, and sitemaps fresh the second you click Publish.
Wiring Contentful webhooks to Next.js 16 on-demand ISR on Netlify: slug sanitization, secret-safe logging, cascading revalidatePath() calls, and a 24-hour safety net.
