I have a MERN app in which I have integrated NextJS. First time with NextJS so bear with me. I have initially used SSR everywhere (getServerSideProps
).
Key points:
- I have over 150,000 pages with static content that it's never going to change.
- Every week I add around +100 new pages.
I guess the ideal situation here would be using getStaticProps
and getStaticPaths
and, after an initial build of those 150k pages, just build the new added pages every week and keep what I already have built as it is since it's never going to change.
How can I achieve this? Should I use revalidate
here? I have been reading about it in the documentation but I don't completely understand it.