Ecom house logo

What is server-side rendering (SSR)?

With server-side rendering (SSR), the server prepares the complete HTML page - including products, prices, and descriptions - and only then sends it to the browser. An alternative is client-side rendering (CSR): the server sends an almost empty page and scripts, and the user’s browser assembles the content.

For an online store, the main difference lies in SEO. With CSR, indexing may be delayed or may cover only part of the content; in the worst-case scenario, the crawler sees an empty shell. That’s why stores with a separate front end - such as PWAs - are rendered on the server or have their pages prepared in advance. Frameworks like Nuxt and Next.js have SSR built in.