Next.js Discord

Discord Forum

Question about project render method

Answered
Bonga shad posted this in #help-forum
Open in Discord
Bonga shadOP
How to check if my entire project is SSG or client-side rendering?

I don’t use any of next getStaticProps or any other props at all, after I build next build

I got

â—‹ (Static) automatically rendered as static HTML (uses no initial props)
Done in 64.61s.
Collected static files (public/, static/, .next/static): 14.43ms
Build Completed in /vercel/output [1m]
Deploying outputs...


Is this enough to know or any information it needed that the site is not SSR?

Any help appreciated! Thanks in advance.
Answered by @ts-ignore
this tells you how each page is rendered
View full answer

6 Replies

Answer
this is logs for my site
Bonga shadOP
Hi, Thanks very much. I apprieciate it.
What's the difference between SSG and static?
@Bonga shad Hi, Thanks very much. I apprieciate it. What's the difference between SSG and static?
From what I know
- Static means that the content of the page doesn't depend on anything
- SSG means the data on which the content depends is fetched during build time
Bonga shadOP
Thank you very much
@Bonga shad Thank you very much
np, just mark this thread as answered