Replies: 1 comment
-
There can be things for the delay. First step is to kind if it is network latency or the server computation is slow. Simply hit the API on localhost, if it is quick, that means server computation is not slow and it is the network latency, which can be coz of many reasons and one of them is the distance between the user and the server |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using adonis 5 api server to use it as a backend in my react app.
I also use Axios for my GET, POST, UPDATE requests ...
I have a problem with my POST request to log in users.
I have a latency of 34,865ms when I do a post request to adonis.
When I connect to the adonis proxy with the url, I have latency too.
Adonis is launched with nginx
However everything works well, the connection to the member's area works...
Do you know where the problem can come from, how to debug it
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions