Firebase hosting with next.js app router deployment speed #7004
Unanswered
LorenzoYeKai
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately, there's not much you can do to speed up the deployment imo. Firebase Hosting was not originally designed for frameworks like Next.js, which is why the deployment process, especially for SSR functions, is quite slow. However, once Firebase App Hosting moves out of beta, it will be a much better solution for this type of project. App Hosting is specifically designed for modern frameworks and will significantly improve deployment speed. When it's stable, migrating to it should make the process much faster and more efficient :) Hope it helps ! |
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
-
Hi,
we recently deployed a project built in next.js 14 with app router through firebase hosting and we notices extremely elevated deployment time, in the order of 10 to 20 minutes.
We noticed 2 bottlenecks. The first one is the deployment of the SSR cloud function.
The second one is the generation of the service identity for eventarc.googleapis.com.
I want to understant if we are doing something wrong as a deployment this slow is very inconvenient.
This is the firebase.json file
This is the deplyment log:
Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions