This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

fetchStart

Summary

Returns the time immediately before the user agent starts checking any relevant application caches (if the resource is to be fetched using HTTP GET or equivalent). Otherwise, returns the time when the user agent starts fetching the resource.

Property of apis/navigation timing/PerformanceTimingapis/navigation timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.fetchStart;

Return Value

Returns an object of type unsigned longunsigned long

Examples

var perftime = performance.timing;
document.write("fetchStart: " + perftime.fetchStart + "<br />");

Related specifications

W3C Navigation Timing Specification 2
W3C Working Draft

Attributions