Server-side rendering
SSR
Server-side rendering (SSR) means the server builds a page's HTML when it is requested, so the browser receives a complete page instead of building it with JavaScript.
The alternative, client-side rendering, sends a mostly empty page plus a JavaScript bundle that builds the page in the browser. That is slower to show anything, harder for search engines and AI crawlers to read, and heavier on the visitor's device.
With SSR the visitor and the crawler get readable HTML straight away. Combined with caching, it gives fresh content and fast pages at the same time.
How Regular approaches it
Every page in Standard is rendered as HTML on the server and works without JavaScript. Scripts are only added where they do something a visitor notices, like an accordion or a slideshow.
Sources and further reading
- SSR, MDN Web Docs glossarydeveloper.mozilla.org
- Rendering on the Web, web.devweb.dev