EdgeOne Makers · On-Demand ISR

按需增量静态再生On-Demand ISR

这个页面是静态缓存的:每次访问都返回同一个「生成时间」。只有调用 revalidatePath('/') 后,它才会在 EdgeOne 上被重新生成。This page is statically cached — every visit returns the same generated time. It is only regenerated on EdgeOne after calling revalidatePath('/').

页面生成时间 / Generated atGenerated at
2026-07-28T15:12:15.346Z

  1. 反复刷新本页,上面的时间不会变(命中缓存)。Refresh repeatedly — the time above stays the same (cache hit).
  2. 点击上方按钮,或调用 /api/revalidate?path=/ 触发重新验证。Click the button above, or call /api/revalidate?path=/ to trigger revalidation.
  3. EdgeOne 清除该页 CDN 缓存并重新生成,稍等片刻刷新,时间就更新了。EdgeOne purges this page from the CDN and regenerates it; refresh in a moment and the time updates.

渲染时间若在几个值间跳动,是被不同边缘节点服务、各自缓存了自己再生的副本 —— 属正常。当使用确定的存储更新时,可以正常完成页面同步。If the rendered time alternates between a few values, it is served by different edge nodes each caching their own regenerated copy — this is normal. With a deterministic data source, pages sync consistently.