3 ms·
This is how it is supposed to work. JavaScript is single-threaded, and JavaScript execution pauses rendering and event-processing on the page. A synchronous XHR
by olavk 15y ago
This is how it is supposed to work. JavaScript is single-threaded, and JavaScript execution pauses rendering and event-processing on the page. A synchronous XHR request is just like any other long-running JavaScript: it blocks the UI.