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

Support NextJS on-demand revalidation #5680

Open
jasan-s opened this issue Apr 11, 2023 · 4 comments
Open

Support NextJS on-demand revalidation #5680

jasan-s opened this issue Apr 11, 2023 · 4 comments

Comments

@jasan-s
Copy link

jasan-s commented Apr 11, 2023

[REQUIRED] Environment info

firebase-tools:
11.25.3

Platform:
macOS

[REQUIRED] Test case

Starting with v12.2.0, Next.js supports On-Demand Incremental Static Regeneration to manually purge the Next.js cache for a specific page. This makes it easier to update the site, however it seems firebase hosting does not detect on demand regeneration.

[REQUIRED] Steps to reproduce

Following the steps in this guide add the on demand revalidation (https://nextjs.org/docs/basic-features/data-fetching/incremental-static-regeneration#on-demand-revalidation) api path.

[REQUIRED] Expected behavior

Upon invoking the revalidation api route, the hosting should regenerate a new page.

[REQUIRED] Actual behavior

The hosting never regenerates the page matter how many time the api route is called. And the stale page remains and is continued to be served to users.

@jamesdaniels jamesdaniels changed the title Next js on demand revalidation not working Support NextJS on-demand revalidation May 23, 2023
@bhavesh-chaudhari
Copy link

Any update on this feature?

@jasan-s
Copy link
Author

jasan-s commented Jul 17, 2023

Checked last week and still not functional.

@gauthampait
Copy link

Happy New Year :) Hope to see this feature working soon.

@jntakpe
Copy link

jntakpe commented Apr 9, 2024

I'm super eager to have this feature, I'm considering moving to Vercel to have this properly supported

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

No branches or pull requests

6 participants