DEV Community

Ben Carp
Ben Carp

Posted on

Prerendering compared to SSR for SEO

Our site is rendered on the server, but then certain pages are mostly a react component. We would like to move to be towards being completely client rendered but for certain pages we are very much concerned about SEO.

We are aware of solutions such as Next (SSR+CSR), but we aren't keen towards such solutions.

We are considering CSR + dynamic rendering. This means, building pages/routes completely in React, and then serving a pre-rendered page to crawlers. So far SSR was considered the best practice for SEO. Will the same page rendered via pre-rendering be equivalent to that same page rendered via SSR in terms of SEO?

I see no reason it won't be, as the html is the same. Perhaps excluding response time, as non cached pages might take much longer to render using pre-rendering.

Top comments (0)