ISR Demo Page

This page demonstrates Incremental Static Regeneration (ISR) with Next.js. ISR allows Next.js to update static pages in the background, without requiring a full rebuild. This improves the performance and freshness of the page content.

To verify that Incremental Static Regeneration (ISR) is working on this page, you can follow these steps:

  1. Observe the initial content rendered on the page, including the timestamp generated by the getStaticProps function.
  2. Wait for the specified revalidate time (30 seconds in this case).
  3. Refresh the page and check if the timestamp has been updated.

If the timestamp has been updated, it indicates that the page has been regenerated in the background using ISR. The revalidate time determines how often Next.js will attempt to regenerate the page. In this case, the page will be regenerated every 30 seconds, ensuring that the content stays fresh.

This page was generated at 2024-11-21T06:59:16.116Z