Next.js Discord

Discord Forum

Hello Guys Is there any way in next js where we could separate static and server side during build

Unanswered
aneeqkhurram007 posted this in #help-forum
Open in Discord
I have an app and I want to separate the static part and the dynamic API or server part separate during build time. I know generateStaticParams could work for static site generation but having nextAuth in placed how could we acheive that because its always better to server static part using some bucket with CDN in front rather than build time generations from an app in a container

0 Replies