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.

asdsa
#4548 opened just now by Unstopabloo
test
#4547 opened 2 days ago by kongshu612
6
xsaxa
#4546 opened 2 days ago by rudolf-erasmus
test 123 321 !!
#4545 opened 2 days ago by rudolf-erasmus
xzfgdsfg
#4544 opened 2 days ago by nahoc
cccc
#4543 opened 2 days ago by nahoc
DEMo
#4542 opened 2 days ago by congdanhk07
test
#4541 opened 2 days ago by SidVerson
test
#4540 opened 2 days ago by nhatdang2003
TEST
#4538 opened 4 days ago by Jahmiro
2
Test - Again
#4536 opened 4 days ago by wenyongqd
Test
#4535 opened 4 days ago by wenyongqd
testando
#4534 opened 4 days ago by gabrielcaires
testing
#4533 opened 5 days ago by HafidzNurmawanHakim
Testing
#4531 opened 1 week ago by hgchrre
test
#4530 opened 1 week ago by BennyKok
test
#4529 opened 1 week ago by haerrel
4
refresh
#4528 opened 1 week ago by gparkkii
sadf
#4527 opened 1 week ago by gparkkii
Testing Feature
#4526 opened 1 week ago by olegshevt
This is awesome feature
#4525 opened 2 weeks ago by sayemarg
test-revalidate
#4524 opened 2 weeks ago by Farrely-F
1
test
#4523 opened 2 weeks ago by devesh-manani-us
test
#4522 opened 2 weeks ago by tuppers360
eaewa
#4521 opened 2 weeks ago by bugsbirt
testing
#4520 opened 2 weeks ago by adityavijay21
test
#4519 opened 2 weeks ago by Mostafa-dayasoft
another one
#4517 opened 2 weeks ago by leerob
test
#4516 opened 2 weeks ago by leerob
Testing ondemand isr
#4515 opened 2 weeks ago by kgotgit
2