By Admin · 1/24/2026

Hello everyone 👋, we will discuss rendering methods in Next.js, analyzing how they work and what are their pros and cons. This is an important topic because knowing these options well allows us to choose the right strategy to optimize performance and improve the user experience. By the end of the article, you will know which rendering method is best suited for your project and how to make the most of it!
Next.js provides various strategies to render a page: “SSR(Server Side Rendering), CSR(Client Side Rendering), SSG(Static site generation), and ISR(Incremental Static Regeneration).”

Client-side rendering (CSR) is a methodology in which the browser takes care of loading and rendering the user interface of a web app using JavaScript. This process takes place in several steps:
OSS: The “empty” page served to us will load the different resources of the routes we will navigate. This methodology is defined as SPA(Single Page Application).
<!-- Empty File --!>
<html lang="en">
<head>
<!-- Maybe some stuff here -->
</head>
<body>
<div id="root"></div>
<script
src="/static/bundle.js"
></script>
<script
src="/static/0.chunk.js"
></script>
<script
src="/static/main.chunk.js"
></script>
</body>
</html>
Server-side rendering is the process that generates the server-side HTML page and sends it to the client. The initial page will be static and will later be hydrated to make it interactive. This process is called double rendering.


The SGG generates pages in build-time and provides the client with static files that are not re-generated with each request. The SSG is a method that uses next by default in case of pages that do not have dynamic data.

Static pages have the weakness of not being dynamic but are fast, which is why ISR was invented. ISR combines SSG and SSR. In fact, with ISR, we can decide how often the page should be regenerated.
Join Medium for free to get updates from this writer.
To decide the time interval when the page should be requested, we have to insert revalidate in our fetch call with the time expressed in seconds.
In conclusion, understanding the different rendering methods available in Next.js is crucial for optimizing the performance and user experience of your web applications. Each method — CSR, SSR, SSG, and ISR — has its unique advantages and limitations, making them suitable for different scenarios.
By choosing the right strategy based on your project’s requirements, you can ensure faster load times, better SEO performance, and a seamless user experience. As you continue your journey with Next.js, keep experimenting with these techniques to find the best fit for your application’s needs!
If you enjoyed this article, I suggest you read the previous article.