Static Site Generation Demo

This page is generated at build time and cached until the next deployment

Static Generation Info

Build Time Data

Built At:
2026-11-24T19:02:41.006Z
Build Timestamp:
Nov 24, 2026, 7:02:41 PM UTC

Render Time Data

Rendered At:
2026-11-24T19:02:41.006Z
In SSG, this matches build time (static generation)

🔒 Static Generation Characteristics:

  • • Page is pre-rendered at build time
  • • Same HTML served to all users
  • • Data is "frozen" until next build
  • • Fastest possible delivery (served from CDN)
  • • No server computation on each request

Build-Time Fetched Data

Featured User (ID: 1)

Name:Leanne Graham
Email:Sincere@april.biz
Website:hildegard.org
Company:Romaguera-Crona

Latest Posts (Fetched at Build Time)

sunt aut facere repellat provident occaecati excepturi optio reprehenderit

quia et suscipit suscipit recusandae consequuntur expedita et cum reprehenderit molestiae ut ut quas...

Post ID: 1 | User ID: 1

qui est esse

est rerum tempore vitae sequi sint nihil reprehenderit dolor beatae ea dolores neque fugiat blanditi...

Post ID: 2 | User ID: 1

ea molestias quasi exercitationem repellat qui ipsa sit aut

et iusto sed quo iure voluptatem occaecati omnis eligendi aut ad voluptatem doloribus vel accusantiu...

Post ID: 3 | User ID: 1

Caching Strategy Comparison

StrategyWhen RenderedCache DurationUse Case
SSG (This Page)Build timeUntil next buildStatic content, best performance
ISR (Blogs)Build + background updates5-10 minutesContent that updates periodically
SSR (About)Every requestNo cacheDynamic, user-specific content

Testing SSG Behavior

In Development:

  • • Build time = render time (regenerated on each request)
  • • Data fetching happens on each page load
  • • Hot reloading affects static generation

In Production:

  • • Build time ≠ render time (truly static)
  • • Same HTML served to all users
  • • Data never changes until rebuild

🏗️ To see true SSG behavior: Run npm run build && npm start