3 ms·
Next.js recommends delivering static assets by default and is geared towards that. > We recommend using Static Generation (with and without data) whenever poss
by sinker 5y ago
Next.js recommends delivering static assets by default and is geared towards that.
> We recommend using Static Generation (with and without data) whenever possible because your page can be built once and served by CDN, which makes it much faster than having a server render the page on every request.
If you need dynamic content, they recommend server-side rendering, and lastly client-side rendering only if the page is unaffected by SEO and requires a lot of in-page updates.
https://nextjs.org/learn/basics/data-fetching/two-forms https://nextjs.org/learn/basics/data-fetching/two-forms