--

Hello Cathal, I'm really glad that you enjoyed the article. I understand where the confusion might arise, so I've made some changes to the article to prevent confusion for new readers.

Answering your question, both SSG and SSR render pages on the server. The difference between these two is when the page is rendered. SSG is rendered on build time, whereas SSR is rendered at every request, for every client.

In the example I give, what I'm trying to say is that the documentation website doesn't have dynamic content that justifies rendering at every request, hence a better approach would be to use SSG, because the content is the same for every client.

Hope this clarifies things for you. Feel free to ask any other questions 😄

--

--

Alexandre Serra
Alexandre Serra

Written by Alexandre Serra

Software Engineer. Tech enthusiast and athlete. Currently working at @Cleanwatts

No responses yet