If there are HTTP redirects or equivalent when navigating and if all the redirects or equivalent are from the same origin, the redirectStart property must return the starting time of the fetch that initiates the redirect. Otherwise, this attribute must return zero.
An Integer value that represents the time of the fetch that initiates the redirect.
- Navigation Timing, Section 4.2
The value reported by the redirectStart property represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).
Windows Internet Explorer 9. This property is supported only for documents displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.
The following example shows how to calculate the time required to redirect the document.
var oTiming = window.performance.timing; var iTimeMS = oTiming.redirectEnd - oTiming.redirectStart;