This app demonstrates *On-Demand ISR support* in Next.js (view source).

How does this work?

When issues on the `on-demand-isr` repo change (get created, commented on, deleted, etc), GitHub fires off a webhook and the impacted pages get re-rendered and pushed to the edge, on demand. The webhook on the Next.js app side executes a new `revalidatePath()` API call.

Didn't this exist already?

Unlike `revalidate` with a time interval, a Serverless Function is invoked _only when content changes_, making it faster for the user (they see changes immediately), and more cost-efficient for owners.

_💡 Try creating a new issue or commenting, and refresh this page to see the regenerated one!_
Pages take about *300ms~* to fully propagate to the global Vercel Edge Network after the regeneration completes.

Trying ISR
#4372 opened 20 minutes ago by anbari1337
Revalidate Now
#4371 opened 20 hours ago by gilbarbara
te
#4370 opened 2 days ago by pug-pelle-p
cxvx
#4369 opened 2 days ago by Dindonneau
test
#4368 opened 2 days ago by caesar1030
test issue
#4367 opened 2 days ago by caesar1030
test issue
#4366 opened 3 days ago by claudiusbobbins
test
#4365 opened 3 days ago by iSonik
test revalidate
#4364 opened 4 days ago by webard
1
test
#4363 opened 4 days ago by adam-shih
Hello NextJS ISR
#4362 opened 5 days ago by ika18
Test issue
#4360 opened 6 days ago by Hertrooy
whats going on? lets see
#4359 opened 6 days ago by swayam1998
Will this help my use case
#4358 opened 1 week ago by ShawndaleS
gn
#4357 opened 1 week ago by Notamatall
test
#4356 opened 1 week ago by Notamatall
some data
#4355 opened 1 week ago by Notamatall
h
#4354 opened 1 week ago by Musubi42
<h1>lol</h1>
#4353 opened 1 week ago by bukitjose
2
Testing ON DEMAND ISR
#4352 opened 1 week ago by k26rahul
hehe
#4351 opened 1 week ago by akmalyf
test
#4349 opened 1 week ago by Lumenzz
yaaaaaam aatish
#4348 opened 1 week ago by mei-chen
edwiuhdiwhu
#4347 opened 2 weeks ago by JowaDev
201999201
#4346 opened 2 weeks ago by krisboblea
test
#4345 opened 2 weeks ago by shubhamw3nuts
yrdy
#4344 opened 2 weeks ago by shubhamw3nuts
test
#4343 opened 2 weeks ago by oksssvv
Hello !
#4342 opened 2 weeks ago by Newo123
testos
#4341 opened 2 weeks ago by Newo123