Fetching data very slowly in production, but it's fine on development
Unanswered
Masai Lion posted this in #help-forum
7 Replies
most probably, you host a Next.js to Vercel, calling third party DB API. i see many such posts here.
i just saw ur code, u r exposing .env, you want to remove it.
is deploying to vercel the problem then?
would it have the same problem if i deployed somewhere else?
Vercel officially recommends Vercel KV or Postgres. in case of self-hosted like AWS, it does not matter.
Masai LionOP
alright, thanks