The choice between a static site and a web app is often treated as a technical argument. It is really a question about what the product does. Once you know that, the right architecture usually becomes clear.

What a static site is

A static site builds its pages ahead of time and serves them as plain files, usually through a content delivery network. Visitors receive the page almost instantly, hosting is inexpensive, and search engines read the content easily. Tools such as Astro and Next.js can build static sites with dynamic pieces where needed.

What a web app is

A web app generates or updates content on request. It works best when the content depends on who is logged in, what they have done, or live data that changes constantly, such as a dashboard, a booking system or a multi-user tool.

When a static site is the right choice

Choose a static site for company websites, landing pages, portfolios, marketing content, documentation and most blogs. The content is largely the same for every visitor, and it changes on a publishing schedule rather than every second.

When you need a web app

Choose a web app for SaaS products, customer portals, internal tools and anything with user accounts, permissions or real-time data. If visitors need to save something, track progress or see personal information, you need a backend.

Many projects use both

A common setup is a static marketing site with a web app behind a login. The public pages load quickly and rank well in search, while the product lives on its own application. This keeps the public site cheap to run and the application flexible.

Questions to settle before building

Who logs in? What data is personal? How often does the content change, and who changes it? Do you need to take payments or manage bookings? The answers usually point to one architecture or the other.

Cost and maintenance

A static site has fewer moving parts, so it costs less to host and secure. A web app needs a database, authentication, monitoring and regular updates. Both can be built well. The difference is the ongoing work you accept.