App Router (WIP)

Static-Site Generation

  • In this example, static rendering is used to pre-render three posts. The result of the rendering is stored on a CDN and re-used for each request.
  • Post 1 and 2 are statically pre-rendered at build time.
  • A random third post is statically rendered on-demand the first time it is requested
  • Try navigating to each post and noting the timestamp of when the page was rendered.