Client-side vs Server-side rendering

Server-side

pros

  1. ​ Search engines can crawl the site for better SEO.
  2. The initial page load is faster.
  3. Great for static sites.

cons

  1. ​ Frequent server requests.
  2. An overall slow page rendering.
  3. Full page reloads.
  4. Non-rich site interactions.

Client-side

pros

  1. ​ Rich site interactions
  2. Fast website rendering after the initial load.
  3. Great for web applications.
  4. Robust selection of JavaScript libraries.

cons

  1. ​Low SEO if not implemented correctly.
  2. Initial load might require more time.
  3. In most cases, requires an external library.