This app demonstrates the new *On-Demand ISR support* in Next.js 12.1 (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 `res.revalidate()` 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
#3836 opened just now by tcrz
test issue
#3835 opened 7 hours ago by iqballord
try again
#3832 opened 4 days ago by earendillo
3
Hey
#3831 opened 4 days ago by murilo-kronbauer
1
hello world issue isr test
#3830 opened 4 days ago by earendillo
Yes
#3828 opened 4 days ago by Gebov
Test issue to see ISR in action
#3827 opened 5 days ago by jchlu
TestIsuuue
#3826 opened 5 days ago by MateIT92
Dara test issue
#3825 opened 5 days ago by DaraUkpong
Test issue
#3824 opened 5 days ago by FrankieFro
Testing ISR
#3823 opened 5 days ago by varunpandey0502
test isr title
#3822 opened 5 days ago by dbkim77
test 5
#3821 opened 6 days ago by deusdete
test issue
#3819 opened 6 days ago by thariqaudah
sa
#3818 opened 6 days ago by makhdum530
test
#3817 opened 6 days ago by galvana
I'm testing it
#3816 opened 1 week ago by pedrofnuness
1
test
#3815 opened 1 week ago by mr687
1
test
#3813 opened 1 week ago by Saad135
1
Testing 123
#3812 opened 1 week ago by AlyssaKirstine
test on demand isr
#3811 opened 1 week ago by mhd-rawashdah
test
#3810 opened 1 week ago by bluesky0724
test
#3809 opened 1 week ago by nijatrajab
test
#3808 opened 1 week ago by simian114
ISR testing
#3807 opened 1 week ago by tiennguyendang
only for test
#3806 opened 1 week ago by svasighi
new issue v3
#3805 opened 2 weeks ago by JulioCVaz
new issue
#3802 opened 2 weeks ago by JulioCVaz
test
#3801 opened 2 weeks ago by gengue
ISR Check
#3800 opened 2 weeks ago by JRetza