- Published on
Rendering Types
- Authors
- Name
- Ishan Dwivedi
Server Side Rendering
Server-side Rendering is the pre-rendering method that generates the HTML on each request. To use Server-side Rendering, you need to export getServerSideProps instead of getStaticProps from your page.
Static Generation
Static Generation is the pre-rendering method that generates the HTML at build time. The pre-rendered HTML is then reused on each request.