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.

issue1
#4472 opened just now by Shivani-Sd
Test issue
#4471 opened 20 hours ago by rocord01
test99
#4469 opened 2 days ago by jsdario
New test issues to test revalidation
#4468 opened 2 days ago by krisnrg
new issue #pl
#4467 opened 2 days ago by pziewiec
tesr
#4466 opened 2 days ago by jiarenlim
go
#4465 opened 3 days ago by znssss
Testing
#4464 opened 3 days ago by andrewturko
Howdy
#4463 opened 3 days ago by inezabonte
test d
#4462 opened 6 days ago by DavisChang
4
tedt
#4461 opened 1 week ago by iranmanesh
2
test
#4460 opened 1 week ago by tech-deepview
testing
#4458 opened 1 week ago by rilfi
new test
#4457 opened 1 week ago by M-Subhan1
testing 1306_02
#4456 opened 1 week ago by SurajSable
testing 1306
#4455 opened 1 week ago by SurajSable
test
#4454 opened 1 week ago by VictorXypCh
isr!!
#4453 opened 1 week ago by edlandoe
test
#4452 opened 2 weeks ago by chrishj59
Test
#4451 opened 2 weeks ago by raulriverarojas
test revalidation
#4450 opened 2 weeks ago by arun-dsa
New test issue
#4449 opened 2 weeks ago by beccalewy
1
yo
#4447 opened 2 weeks ago by RockyStrongo
Teste
#4446 opened 2 weeks ago by Natasm
1
Test ISR
#4445 opened 3 weeks ago by HamsterStudent
Test
#4444 opened 3 weeks ago by vladavip88
hi
#4440 opened 3 weeks ago by BackslashG
really
#4439 opened 3 weeks ago by carlitosz
go mavs
#4438 opened 3 weeks ago by Salpadding
Good one sir
#4437 opened 3 weeks ago by soorajbhaskaran