incremental static regeneration

Re-rendering a static page in the background after a set time or on demand, without rebuilding the whole site.

In more detail

With export const revalidate = 3600 a page is served from cache and regenerated at most once an hour when a request arrives after that time. Visitors keep getting the old page until the new one is ready, the stale-while-revalidate idea.

Related terms

Taught in

References