Skip to content Skip to sidebar Skip to footer

Why Does The Time Taken For AJAX Request Jump From 2ms To 50ms And Higher?

I wrote a small script (with jQuery for AJAX) to 'ping' the server and output how long it takes for my AJAX requests to occur. var start = Date.now(), end = 0; setInterval(functio

Solution 1:

Those requests with about 40ms in your example are real requests. Others are cached results by browser.


Post a Comment for "Why Does The Time Taken For AJAX Request Jump From 2ms To 50ms And Higher?"