What is the difference between asynchronous and synchronous HTTP request?

Abhimanyu Kumar picture Abhimanyu Kumar · May 23, 2013 · Viewed 81.5k times · Source

What is the difference between asynchronous and synchronous HTTP request?

Answer

Sachin Gandhwani picture Sachin Gandhwani · Nov 28, 2015

Synchronous: A synchronous request blocks the client until operation completes. In such case, javascript engine of the browser is blocked.

Asynchronous An asynchronous request doesn’t block the client i.e. browser is responsive. At that time, user can perform another operations also. In such case, javascript engine of the browser is not blocked.