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
#4874 opened 2 hours ago by AxelSorensenDev
Test Issue
#4873 opened 3 hours ago by Leonelmarianog
001 Random issue
#4871 opened 9 hours ago by javik223
MY ISSUE
#4870 opened 19 hours ago by bohdan-mykhailenko
1
#4869 opened 1 day ago by adriano-tirloni
.
#4868 opened 1 day ago by MeysamSayyad
.
#4867 opened 1 day ago by favolia
hello from rms1000watt
#4866 opened 2 days ago by rms1000watt
hi
#4862 opened 2 days ago by TheKing0000
2
Test 123456789
#4861 opened 2 days ago by MCKmecik
deded
#4860 opened 2 days ago by mathis-deconchat
what is this
#4859 opened 4 days ago by SALEHINISLAM
aa
#4858 opened 4 days ago by leowei80
this is check by aman
#4857 opened 4 days ago by AmanKumar-INDIAN
2
Hey there
#4855 opened 5 days ago by Souheil120366
fuck you
#4854 opened 5 days ago by Souheil120366
1
Hello ISR
#4852 opened 6 days ago by BkSouX
1
Test new issuse
#4851 opened 6 days ago by phucbinhdev
Test
#4850 opened 1 week ago by st-minhho
1
Contirbuting to this repo
#4848 opened 1 week ago by amir-siami
2
Test #00001
#4847 opened 1 week 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