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.

hello from rms1000watt
#4866 opened 1 hour ago by rms1000watt
hi
#4862 opened 12 hours ago by TheKing0000
2
Test 123456789
#4861 opened 15 hours ago by MCKmecik
deded
#4860 opened 20 hours ago by mathis-deconchat
what is this
#4859 opened 2 days ago by SALEHINISLAM
aa
#4858 opened 2 days ago by leowei80
this is check by aman
#4857 opened 2 days ago by AmanKumar-INDIAN
2
Hey there
#4855 opened 3 days ago by Souheil120366
fuck you
#4854 opened 3 days ago by Souheil120366
1
Hello ISR
#4852 opened 4 days ago by BkSouX
1
Test new issuse
#4851 opened 4 days ago by phucbinhdev
Test
#4850 opened 5 days ago by st-minhho
1
Contirbuting to this repo
#4848 opened 6 days ago by amir-siami
2
Test #00001
#4847 opened 6 days ago by prabhat-bhartola
test
#4832 opened 1 week ago by stigrunar
1
hai
#4830 opened 1 week ago by Elgara5364
Test
#4827 opened 1 week ago by tomneo2004
Interesting feature!
#4826 opened 1 week ago by marjandejyab
teste
#4825 opened 1 week ago by hawkdevelopers
Hello
#4824 opened 1 week ago by Elgara5364
Hi
#4823 opened 1 week ago by Elgara5364
teste
#4822 opened 1 week ago by GabrielCostaLuiz
test
#4820 opened 1 week ago by Kunal-1408
testing isr
#4818 opened 1 week ago by valourus
swd
#4817 opened 1 week ago by ARSHADKHAN615
Test ISR
#4816 opened 1 week ago by duchuynhthoai
test 123
#4814 opened 1 week ago by IvanDodig
hm test
#4813 opened 1 week ago by vladyslaviskra
testtest
#4812 opened 1 week ago by eaaaarl
test
#4811 opened 1 week ago by eaaaarl