DEV Community

Naveen kumar Gopi
Naveen kumar Gopi

Posted on

ShortNote On NextJs

In NextJs,
SSR :
Pre-generates page during build time meaning all HTML code and contents are prepared in advance.
Once the pages are deployed they can be cached by server meaning pages can be prepared ahead of time and can be cached by server/CDN, which serves the app
These stuffs are possible only with help of exporting getStaticProps() which runs on server side.

Top comments (0)