Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to apply Incremental Static Regeneration? #847

Open
demonhunter3333 opened this issue Feb 6, 2024 · 2 comments
Open

How to apply Incremental Static Regeneration? #847

demonhunter3333 opened this issue Feb 6, 2024 · 2 comments

Comments

@demonhunter3333
Copy link

Is your feature request related to a problem? Please describe.
How to apply Incremental Static Regeneration with this template, if im just using MDX files in the /data/blog folder?

Describe the solution you'd like
If ISR is applied, I don't have to redeploy the whole site after I correct a typo.

https://vercel.com/docs/concepts/incremental-static-regeneration/overview

@webdevlapani
Copy link

Sure, here's a more refined version:

In order to utilize Incremental Static Regeneration (ISR), it's essential to retrieve blog data from a database or another server. If you're employing MDX, you'll have to rebuild and redeploy it regardless. Consequently, there wouldn't be any advantage to using ISR.

To leverage ISR effectively, you must fetch data from an alternative source, enabling its utilization.

@darisi
Copy link

darisi commented Feb 29, 2024

Looking for this as well. I think it's more like processing/generating mdx files on page load, then they stay static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants