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.

coding genius Park
#5169 opened 17 hours ago by wishket-lsg
1
YOZM IT ZZANG
#5168 opened 18 hours ago by wishket-lsg
fdfdf
#5167 opened 19 hours ago by Fulwing
3
Yolo
#5166 opened 1 day ago by arham-lodha
1
test
#5165 opened 1 day ago by Drustus
This is a test issue
#5164 opened 1 day ago by synsr
test
#5162 opened 1 day ago by Kneesal
New issue
#5161 opened 2 days ago by monstajoe2002
1
#5160 opened 2 days ago by hxj0726
test
#5159 opened 2 days ago by lightersss
2
test
#5158 opened 2 days ago by yy16
ck test
#5157 opened 3 days ago by bashfulrock
1
a test
#5156 opened 4 days ago by aisel01
1
testing
#5155 opened 4 days ago by andresCordy
test
#5153 opened 5 days ago by siddharth865
1
test
#5152 opened 5 days ago by yonimor88
test
#5150 opened 5 days ago by harithilmi
Test ISR
#5149 opened 6 days ago by shashanksatpute
Test
#5148 opened 6 days ago by shashanksatpute
Test isr
#5147 opened 6 days ago by iamcristian
How does this work?
#5146 opened 1 week ago by neelravi
Test Lukis
#5144 opened 1 week ago by lukisrac
test
#5143 opened 1 week ago by nrjdalal
2
9 jan 2025
#5141 opened 1 week ago by siddhesh-kumbhar
test
#5140 opened 1 week ago by Menmaz
is interval or webhook ? test
#5139 opened 1 week ago by Thxzzzzz
test 3
#5138 opened 1 week ago by ahmedx33
test ISR (from egypt)
#5137 opened 1 week ago by ahmedx33
My test
#5135 opened 1 week ago by HoracioSA
New Issue
#5134 opened 1 week ago by AnDyro751
1