Next.js Discord

Discord Forum

Is there a guide on ISR + SSG? (Without keeping a instance running for build all the time)

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Avatar
Asian black bearOP
I ideally want it to work like this with the help of build cache.
Full Build -> Saves last updated time of latest content. -> Uploads all to S3
Incremental Build -> Boots up a build server -> Uses the last updated time from last build -> Fetches new content -> Runs Partial build and writes files to S3.

I can figure out the API data filtering based on last updated data myself.

What I need help is understanding the edge-cases that may come up in the build-cache + upload to S3 flow when using this approach.

0 Replies