[Nextjs | MUI | Supabase] Slow initial load on Vercel
I'm using Nextjs, MaterialUI, and Supabase.
I deployed the app to Vercel under the hobby plan and kept getting a 504 timeout error on a Free / Hobby account. Here's the link: https://meal-mind.vercel.app/
I started a pro trial with Vercel since I know they cap the load time, and now my app works. Here's the link: https://www.mealmind.app/
But there's still an extremely slow loading time to start (sometimes it loads fast though).
Locally it shows a webpack-hmr taking 6+ minutes. But on Vercel it's just the app page that loads slow.
I've tried everything to try to fix this, even worked with my mentor who's better at backend stuff than I am (I'm still pretty new to this entire tech stack) and we couldn't figure it out.
I also tried to deploy it on Netlify, and same issue.
Is there somewhere I should look or test in? Any suggestions?
I deployed the app to Vercel under the hobby plan and kept getting a 504 timeout error on a Free / Hobby account. Here's the link: https://meal-mind.vercel.app/
I started a pro trial with Vercel since I know they cap the load time, and now my app works. Here's the link: https://www.mealmind.app/
But there's still an extremely slow loading time to start (sometimes it loads fast though).
Locally it shows a webpack-hmr taking 6+ minutes. But on Vercel it's just the app page that loads slow.
I've tried everything to try to fix this, even worked with my mentor who's better at backend stuff than I am (I'm still pretty new to this entire tech stack) and we couldn't figure it out.
I also tried to deploy it on Netlify, and same issue.
Is there somewhere I should look or test in? Any suggestions?
