This app demonstrates *On-Demand ISR support* in Next.js (view source).

How does this work?

When issues on the `网民论坛` 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.

2025-11-29 - 资深网民孙先生
#22 opened by jkjoy
0
2025-11-24 - 资深网民孙先生
#21 opened by jkjoy
0
2025-06-16 - 资深网民孙先生
#20 opened by jkjoy
0
2025-06-11 - 资深网民孙先生
#19 opened by jkjoy
0
2025-06-16 - 资深网民孙先生
#18 opened by jkjoy
0
2025-06-05 - 资深网民孙先生
#17 opened by jkjoy
0
Stack - 一个新的typecho主题 - 资深网民孙先生
#16 opened by jkjoy
0
2025-05-30 - 资深网民孙先生
#15 opened by jkjoy
0
使用Docker快速部署邮件服务器 Mailserver - 资深网民孙先生
#13 opened by jkjoy
0
清明节 · 香港一日游 - 资深网民孙先生
#10 opened by jkjoy
0
2025-05-22 - 资深网民孙先生
#8 opened by jkjoy
0
2025-05-20 - 资深网民孙先生
#7 opened by jkjoy
0
istoreos科学上网插件 - 资深网民孙先生
#6 opened by jkjoy
0
使用n8n自动同步Mastodon嘟文到博客说说 - 资深网民孙先生
#5 opened by jkjoy
0
2025-04-21 - 资深网民孙先生
#4 opened by jkjoy
0
2025-05-14 - 资深网民孙先生
#3 opened by jkjoy
0
2025-05-14 - 资深网民孙先生
#2 opened by jkjoy
1
测试一下
#1 opened by jkjoy
2