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.

testing
#4533 opened 10 hours ago by HafidzNurmawanHakim
Test
#4532 opened 2 days ago by manavbabber
Testing
#4531 opened 3 days ago by hgchrre
test
#4530 opened 3 days ago by BennyKok
test
#4529 opened 4 days ago by haerrel
3
refresh
#4528 opened 5 days ago by gparkkii
sadf
#4527 opened 5 days ago by gparkkii
Testing Feature
#4526 opened 6 days ago by olegshevt
This is awesome feature
#4525 opened 6 days ago by sayemarg
test-revalidate
#4524 opened 1 week ago by Farrely-F
1
test
#4523 opened 1 week ago by devesh-manani-us
test
#4522 opened 1 week ago by tuppers360
eaewa
#4521 opened 1 week ago by bugsbirt
testing
#4520 opened 1 week ago by adityavijay21
test
#4519 opened 1 week ago by Mostafa-dayasoft
another one
#4517 opened 1 week ago by leerob
test
#4516 opened 1 week ago by leerob
Testing ondemand isr
#4515 opened 1 week ago by kgotgit
1
Test
#4514 opened 1 week ago by mbagatini
Isrcy
#4513 opened 2 weeks ago by yansen-chandra
2
Test
#4512 opened 2 weeks ago by mrraval008
1
test
#4511 opened 2 weeks ago by ashutosh-srijan
Putin - huilo!
#4510 opened 2 weeks ago by romul3003
test
#4508 opened 2 weeks ago by Hanhusaso
test
#4507 opened 2 weeks ago by Walqer
hwef
#4506 opened 2 weeks ago by Walqer
byyy
#4505 opened 2 weeks ago by Walqer
test ISR on demand
#4504 opened 2 weeks ago by dimitrisraptis96
testsa
#4502 opened 2 weeks ago by alisafavi
testin
#4501 opened 2 weeks ago by RamziRM