Saturday, 20 April 2019

Is XHR the best way to handle requests that take longer to process?

My server needs to do work that can take 15 - 30 seconds to complete before sending the response. Is XHR with an increased timeout limit the best way to handle this? I want to be able to update the frontend UI as soon as the backend work is complete and the data is available.

Submitted April 20, 2019 at 04:09PM by VacantPlains

No comments:

Post a Comment