Okay, so again, I tried to create another parse server app running at port 1338.
Flutter App has 6 queries.
I’m running the parse server without nginx and Cloudflare integrated. Just the bare IP address. And this is where I get good results. from a response time of 6-11 secs now it went down to 500ms - 700ms.
After integrating the default configuration of Nginx and Cloudflare with SSL, this is when the response time went back to 6-11 secs.
Now I know that the cause of my slow response times is because of Nginx and Cloudflare, my question is: When I go live, is it necessary to integrate Nginx and Cloudflare? And if yes, what is the best configuration for this.
Another thing worth mentioning here is when Nginx was integrated I notice a throttling on the client’s network speed.
without nginx - maximum of 15mbps
with nginx - maximum of 432kbps
Again, I dont know how to setup nginx for performance. I’ve followed some tutorials regarding Nginx Performance Optimization