I'm trying to make an ajax request to some logging service using jQuery, the request is initiated by clicking a link on the page, but sometimes I see in dev tools that the request gets the status "canceled".
- Is it because of a race condition? Clicking on the link unloads the page, and if the request-response cycle is not yet completed, it gets canceled?
- If so, what does it mean, canceled? I know I'm not getting a response, and I don't care about that (no valuable information is sent in that response anyway), but can I count on the request making it through to the server?
Thanks