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.

hey
#4949 opened 46 minutes ago by khaled-mostafa
testing
#4947 opened 5 hours ago by ppratik07
dqwdqwd
#4944 opened 1 day ago by Nader-CS
asdasd
#4943 opened 1 day ago by Nader-CS
Test
#4942 opened 1 day ago by somasekharyepuru
3
test
#4940 opened 2 days ago by waldell
1
mmmm
#4939 opened 2 days ago by cduarte0
hi
#4938 opened 2 days ago by taejinii
hello
#4937 opened 2 days ago by derickben
test
#4936 opened 2 days ago by derickben
test
#4935 opened 3 days ago by OscarDRT
Test commeny
#4934 opened 3 days ago by hashedalgorithm
tre
#4933 opened 4 days ago by pjanickovic-ph
tewst
#4931 opened 5 days ago by Rwaja
This is my first issue and it is for testing purpose of on-demand-isr
#4929 opened 6 days ago by theishu4
sooo does it work
#4928 opened 6 days ago by padloecobar
1
test revalidate
#4927 opened 6 days ago by vladilen11
Working
#4926 opened 6 days ago by VanThuan76
A Very Big Troubling Issue
#4925 opened 6 days ago by 10thjeh
3
testing on-demand isr
#4924 opened 6 days ago by AhmadNasrHosna
Hello World
#4922 opened 1 week ago by kdubbels
test
#4921 opened 1 week ago by pogran
Try thiiis
#4919 opened 1 week ago by binarymehdi
Sargam is testing isr
#4918 opened 1 week ago by devsargam
meme
#4917 opened 1 week ago by padloecobar
Test
#4915 opened 1 week ago by tapeyy
Test
#4914 opened 1 week ago by tapeyy
Test on demand
#4912 opened 1 week ago by heyslevin
test on demand
#4911 opened 1 week ago by quitelook
test SLO
#4910 opened 1 week ago by tadej321