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.

Test again
#5177 opened 49 minutes ago by gaurav0210
Test ISR Revalidate Path
#5176 opened 49 minutes ago by gaurav0210
test
#5175 opened 9 hours ago by patryk-fijalkowski
test
#5174 opened 11 hours ago by PatrikF000
Hello
#5173 opened 16 hours ago by nama3k67
J-TEST
#5172 opened 17 hours ago by LucasJi
test
#5171 opened 1 day ago by FabioCingottini
1
Test ISR
#5170 opened 2 days ago by NarixHine
coding genius Park
#5169 opened 3 days ago by wishket-lsg
1
YOZM IT ZZANG
#5168 opened 3 days ago by wishket-lsg
fdfdf
#5167 opened 3 days ago by Fulwing
3
Yolo
#5166 opened 4 days ago by arham-lodha
1
test
#5165 opened 4 days ago by Drustus
This is a test issue
#5164 opened 4 days ago by synsr
test
#5162 opened 4 days ago by Kneesal
New issue
#5161 opened 5 days ago by monstajoe2002
1
#5160 opened 5 days ago by hxj0726
test
#5159 opened 5 days ago by lightersss
2
test
#5158 opened 5 days ago by yy16
ck test
#5157 opened 6 days ago by bashfulrock
1
a test
#5156 opened 1 week ago by aisel01
1
testing
#5155 opened 1 week ago by andresCordy
test
#5153 opened 1 week ago by siddharth865
1
test
#5152 opened 1 week ago by yonimor88
test
#5150 opened 1 week ago by harithilmi
Test ISR
#5149 opened 1 week ago by shashanksatpute
Test
#5148 opened 1 week ago by shashanksatpute
Test isr
#5147 opened 1 week ago by iamcristian
How does this work?
#5146 opened 1 week ago by neelravi
Test Lukis
#5144 opened 1 week ago by lukisrac