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 ISR
#4316 opened 13 hours ago by rchiarino
1
another revalidate test
#4315 opened 22 hours ago by Xelaflash
test revalidate2
#4314 opened 2 days ago by xmak
testing revalidate
#4313 opened 2 days ago by addoinc
Test Nextjs Revalidate
#4312 opened 2 days ago by milanpatel-smartlinks
test
#4311 opened 2 days ago by milanpatel-smartlinks
odi test
#4309 opened 3 days ago by swandevv
1
test
#4308 opened 3 days ago by JM-M
dsqdqsd
#4307 opened 3 days ago by axelwtc
Test
#4306 opened 3 days ago by axelwtc
Test
#4305 opened 3 days ago by aneeshia
1
test
#4304 opened 4 days ago by sjshank
TESTTING AGAIN
#4303 opened 5 days ago by Dhruv-0987
Test
#4301 opened 5 days ago by loydcose
cool
#4300 opened 5 days ago by glamorrr
teste
#4299 opened 6 days ago by WesleyBispo
test
#4298 opened 6 days ago by saltmurai
1
test
#4297 opened 6 days ago by gkcsabado
testafdal
#4295 opened 1 week ago by afdaliable
testtestical3
#4294 opened 1 week ago by burakdunal
testtestical2
#4293 opened 1 week ago by burakdunal
testtestical
#4292 opened 1 week ago by burakdunal
onde é que elas estao
#4291 opened 1 week ago by sergioc0sta
1
Test isr
#4290 opened 1 week ago by sc-pkamburov
Teste tolo3
#4289 opened 1 week ago by sergioc0sta
Teste tolo2
#4288 opened 1 week ago by sergioc0sta
Teste tolo
#4287 opened 1 week ago by sergioc0sta
testt th
#4286 opened 1 week ago by therrou
ss
#4285 opened 1 week ago by dpss77
1
Hamelyn rules
#4283 opened 1 week ago by JavierHamelyn