Hi
Here the problem.
I have my site hosted on a shared hosting for asp.net mvc. I login and say and fill in one of my forms in and want to submit it. The submit is done using jquery ajax request.
Now all of a sudden it will hang and won't do something for like 20 seconds then all of a sudden it will finish my request of saving the form.
Now here is the thing. I could do the same request 10 times and the other 9 times might take like 200-500 milliseconds to finish. So why is there such a time difference?
It also seems if I do a request then do some other request both request will be go fast but if I stop and come back a couple mins the first request might take a while to complete(seems to range from 5 to 20 seconds).
But really it just seems to happen whenever it feels like. Some times I can almost go an entire session without seeing it. Some times I get multiple ones in a row and have to refresh the page and then it will go fast again.
So what causes this?
- Could it be the code I written and that is why it goes slow?
- Is it my hosting site?
- Is it my connection at home?
Like I have no clue what causes this or how to test this so I can't even begin to fix it.