Ability to skip static page generation on next build #78928
anasmohammed361
started this conversation in
Ideas
Replies: 1 comment
-
Why not rely on the initial approach, And once dynamicIO kicks in, you can switch to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
There are lot of times , where the build environment will not have access to databases and other dependencies of an application , and i have faced this issues more that i expected , (VPC , docker-compose ,etc) , As of now the solution is to go to a full SSR route , that skips the static page generation on the build time and make the build succeed , it would really be great if we can do it with the benefits of ISR , cause the production environment will always have access to the private resources as the CI systems or other build systems might note have access to ,
Proposal
An easy to use config like
skipStaticPageGenerationOnBuild:true
that enables one to build the application without generating static pages on build time (only for ISR routes).Beta Was this translation helpful? Give feedback.
All reactions