Gets the time immediately before the user agent starts establishing the connection to the server to retrieve the document.
Represents the time immediately before the user agent starts establishing the connection to the server to retrieve the document.
- Navigation Timing, Section 4.2
If a page is retrieved from an application cache, connectStart has the same value as fetchStart.
The value reported by the connectStart property represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).
The following example shows how to calculate the amount of time needed to establish a connection for a document.
var oTiming = window.performance.timing; var iTimeMS = oTiming.connectEnd - oTiming.connectStart;
Build date: 11/16/2013