Server-side rendering, explained
There are three common ways to make pages. Static generation builds HTML once at deploy time. Server-side rendering builds it on each request. Client-side rendering builds it in the browser with JavaScript.
SSR is useful when a page must be fresh or personal on every visit, such as a logged in dashboard, live stock levels or search results.
Because the HTML arrives complete, SSR pages are friendly to search engines and show content fast, compared with pages that wait for JavaScript.
It costs more than static pages, because a server works on every request. Many sites mix both: static for marketing pages, SSR only where needed. Astro supports this mix per page.



