Why I build most things as static sites

A static site is just files. That is its whole superpower.

Faster by default

There is no database round trip, no cold start and no server to scale. The page is already built, so the browser gets it from the nearest CDN edge.

Where it falls short

Highly personalised pages and real-time features still need a server. For those, add a small API and keep the rest static.

pnpm build && pnpm preview

Let's work together

Have a project, a question or just want to say hi? My inbox is always open.