Next.js 14 SSG & ISR with AWS Amplify

ISR Time Visualization

Server-rendered time:
11:41:07 PM
(Only changes when page is revalidated)
Client-side time:
Current time:
(Updates every second)

Page Visit History:

How to test ISR: Refresh this page multiple times within 10 seconds - the server time will stay the same. Wait more than 10 seconds and refresh - you'll see the server time update, showing that revalidation occurred.

nesciunt iure omnis dolorem tempora et accusantium

Page generated: 11:41:07 PM

consectetur animi nesciunt iure dolore enim quia ad veniam autem ut quam aut nobis et est aut quod aut provident voluptas autem voluptas

This page uses Incremental Static Regeneration (ISR) with a revalidation period of 10 seconds. The page was statically generated at build time and will be regenerated in the background when a request comes in after the revalidation period.

Comments (5)

voluptas deleniti ut

Lucio@gladys.tv

facere repudiandae vitae ea aut sed quo ut et facere nihil ut voluptates in saepe cupiditate accusantium numquam dolores inventore sint mollitia provident

nam qui et

Shemar@ewell.name

aut culpa quaerat veritatis eos debitis aut repellat eius explicabo et officiis quo sint at magni ratione et iure incidunt quo sequi quia dolorum beatae qui

molestias sint est voluptatem modi

Jackeline@eva.tv

voluptatem ut possimus laborum quae ut commodi delectus in et consequatur in voluptas beatae molestiae est rerum laborum et et velit sint ipsum dolorem

hic molestiae et fuga ea maxime quod

Marianna_Wilkinson@rupert.io

qui sunt commodi sint vel optio vitae quis qui non distinctio id quasi modi dicta eos nihil sit inventore est numquam officiis

autem illo facilis

Marcia@name.biz

ipsum odio harum voluptatem sunt cumque et dolores nihil laboriosam neque commodi qui est quos numquam voluptatum corporis quo in vitae similique cumque tempore

Important Note

To see true static behavior in Next.js, you need to build and run the production server:

npm run buildnpm run start

In development mode (npm run dev), Next.js doesn't fully simulate static generation, which is why timestamps may update on refresh.