Next.js 14 SSG & ISR with AWS Amplify

Pure Static Page (SSG)

Page built at:
February 23, 2026 at 11:41:07 PM
(This timestamp is captured at build time)

This page uses traditional Static Site Generation (SSG) without revalidation. The content was generated at build time and will never change until the site is rebuilt.

Static vs. Dynamic Time Comparison

Build time (static):
February 23, 2026 at 11:41:07 PM
Should remain the same after build
Client time (dynamic):
Updates on each page load
Page refresh count:
0
Increments on each refresh

Note: In development mode (npm run dev), Next.js doesn't fully simulate static generation. To see true static behavior, build and start the production server:

npm run build npm run start

Static Site Generation (SSG)

  • Content generated at build time
  • Extremely fast page loads
  • Perfect for truly static content
  • Requires full rebuild to update

When to use SSG

  • Marketing pages
  • Documentation
  • Privacy policies
  • Terms of service
  • Any content that rarely changes

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.