--- title: PerformanceTiming.requestStart slug: Web/API/PerformanceTiming/requestStart translation_of: Web/API/PerformanceTiming/requestStart ---
{{ APIRef("PerformanceTiming") }}
PerformanceTiming
.requestStart
是一个返回代表一个时刻的 unsigned long long
型只读属性,为浏览器发送从服务器或者缓存获取实际文档的请求之时的 Unix毫秒时间戳。如果传输层在请求开始之后发生错误并且连接被重新打开,则该属性将会被设定为新的请求的相应的值 。
time = performanceTiming.requestStart;
Specification | Status | Comment |
---|---|---|
{{SpecName('Navigation Timing', '#dom-performancetiming-requeststart', 'PerformanceTiming.requestStart')}} | {{Spec2('Navigation Timing')}} | Initial definition. |
{{Compat("api.PerformanceTiming.requestStart")}}