The main goal of SSR is to give the user a static HTML with the prerequisite data. Unlike CSR, SSR doesn’t need to make another API call to the backend because the server generates an HTML template and loads any data within it. Newer solutions like Next.js use hydration, where the static HTML will be hydrated on the client side using JavaScript.

14m read timeFrom smashingmagazine.com
Post cover image
Table of contents
Loading Spinner Hell And The Resource Loading WaterfallThe Five Data-Loading Patterns You Need to KnowClient Side Rendering, Server Side Rendering And JamstackActive Memory CachingData Event SourcingPrefetching And Lazy LoadingResumabilitySummaryWhere To Go From Here?

Sort: