NextJS with Firebase Hosting vs Vercel #6665
VictorBaudot
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've just deployed the same app on Vercel and Firebase Hosting. Why is it much slower with Firebase Hosting? (mostly moving from one route to another)
Looking at it, it seems like with Firebase every time we change route it loads the new page, while with Vercel it already has loaded and cached everything on the first page load. How to fix this with Firebase Hosting?
We can see below that the content type of the files loaded for the other routes is defined as "text/html" for Firebase, and "text/x-component" for Vercel.
Firebase Hosting:
Vercel:
Beta Was this translation helpful? Give feedback.
All reactions