Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Hosting / Functions vs Zeit Now

I have a next.js Server side rendered application. hosted in Zeit now and Firebase Hosting / Functions, the same app. Google insight gives different performance analysis,

Firebase Mobile : 20 Desktop : 40

Now.sh Mobile : 60 Desktop : 80

can someone explain this

like image 625
sidali Avatar asked Dec 10 '25 20:12

sidali


1 Answers

  • ZEIT Now is made by the creators of Next.js and has first-class support for Next.js. When you deploy your Next.js app to ZEIT Now, the following happens by default:
    • Pages that use Static Generation and assets (JS, CSS, images, fonts, etc) will automatically be served from the ZEIT Now Smart CDN, which is blazingly fast.
    • Pages that use Server-Side Rendering and API routes will automatically become isolated Serverless Functions. This allows page rendering and API requests to scale infinitely.

These optimizations are likely why your page speeds are better with now.sh.

Edit: FYI, ZEIT rebranded to Vercel.

like image 53
leerob Avatar answered Dec 13 '25 12:12

leerob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!