Search engines have to turn your page into text before they can rank it. How your app delivers that page, whether as finished HTML or as JavaScript that builds it in the browser, decides how reliably and how quickly that happens. It is a product decision that is made early and is expensive to undo, so it is worth making with search in mind.
The four options
- Static generation: pages are built ahead of time and served as plain files. Fastest and simplest to cache. Best for marketing pages, documentation and articles.
- Server rendering: the server builds each page on request. Good when content changes constantly or depends on the visitor, at the cost of more server work per page.
- Incremental regeneration: static pages that rebuild in the background on a schedule or when data changes. A good middle ground for catalogues and listings.
- Client rendering: the browser receives a nearly empty page and builds it with JavaScript. Fine behind a login, risky for anything that must rank.
Why client-only rendering is risky
Google can execute JavaScript, but it does so in a second stage that can lag behind crawling, and other search engines and AI crawlers are less capable. Content that only exists after a script runs may be indexed late, partially or not at all. Even when it works, the page often loads more slowly, which hurts the experience measured by Core Web Vitals.
A simple rule per page type
- Anything you want to rank for (home, services, articles, locations, product pages) is delivered as HTML from the server or at build time.
- Anything personal or private (dashboards, settings, carts after login) can be client rendered.
- Anything that changes by the minute (prices, stock, live scores) can be server rendered, or loaded into a static shell with a clear loading state.
The details that still bite
- Real URLs for every view. A route that only exists as in-page state cannot be linked to, shared or indexed.
- Titles, descriptions, canonicals and structured data set on the server for each page, not patched in later by script.
- Proper status codes. A missing page returns 404 rather than a friendly page with a 200.
- Links as real anchor elements, so crawlers can follow them.
- A generated sitemap that grows with your content.
- Images with dimensions and lazy loading below the fold, so layout does not jump.


