-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Closed
Description
Describe the feature you'd like to request
In next 13 with app directory there is no way to opt out from build time static page generation without loosing ISR. (Only dynamic render). If we want to use the same code base with different backend server (e.g configured in .env files) we force to use SSR and loose ISR.
These feature allows use case like dynamic portals with different backends servers and different data but the same pages and business logic.
Other issues is that the backend server often cannot be reach by developer/build machine.
In a big portal site this feature will also allow faster build and deploy time too, but preserve the ability to use ISR if needed.
Describe the solution you'd like
Configuration based settings:
const nextConfig = {
ssg: false // means build time the pages wont generate static html, only runtime with ISR
};Describe alternatives you've considered
Per paged configuration:
export const ssg = false;or
export const preventSSG = true;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels