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.

mine
#4412 opened just now by AaKuGu
Use PPR
#4411 opened 3 hours ago by leerob
1
test
#4410 opened 4 hours ago by leerob
1
Test for issue on-demand-isr
#4408 opened 23 hours ago by dantech99
1
Hello World!
#4406 opened 2 days ago by danmondra
New issue
#4404 opened 3 days ago by romul3003
4
Title
#4403 opened 4 days ago by Fake-master
Hello
#4402 opened 4 days ago by Parikshit85
hello_test
#4401 opened 6 days ago by Luckyxonepeice
luca
#4400 opened 1 week ago by lgiardi
test
#4399 opened 1 week ago by Flnnkstln
hello
#4397 opened 1 week ago by Ebbook
uno test
#4396 opened 1 week ago by markanthonyuy
test isr
#4394 opened 1 week ago by shatynska
1
test
#4393 opened 2 weeks ago by marcocomes
new issue found TEST
#4392 opened 2 weeks ago by BautistaJB
test
#4391 opened 2 weeks ago by JupiterY
1
test isrrrrrrr
#4390 opened 2 weeks ago by horizon0514
issue 1
#4389 opened 2 weeks ago by flemmingmunk4
Test isr
#4388 opened 2 weeks ago by maksimLobachevskiy
Does it work?
#4387 opened 2 weeks ago by webplantmedia
1
Hello world
#4386 opened 2 weeks ago by webplantmedia
Test
#4385 opened 2 weeks ago by jagonzalr
1
test issue
#4384 opened 2 weeks ago by nsbuckner
:)
#4382 opened 2 weeks ago by ivanstnsk
Hello world!
#4381 opened 2 weeks ago by KimIlia91
test issue
#4380 opened 2 weeks ago by akshaytvisha
1
test
#4379 opened 2 weeks ago by Lorraxs
1
test
#4378 opened 3 weeks ago by rumfiske
ewfwefewf
#4376 opened 3 weeks ago by pregnantboy
2