The window.performance object provides information about the performance of the last page load made by the browser, including dns search time among others. However, I could not find anything like this for Ajax calls.
The higher level problem I'm trying to solve is to use Google Analytics to track load times. You can set up custom events and track synchronization in javascript, but there is currently no way to get search time and other relevant performance data. Maybe there is a way to get this information from an XMLHttpRequest object?
andresuribe
source share