html5 - Performance API 当中的 startTime 具体的含义是什么?
天蓬老师
天蓬老师 2017-04-17 14:47:14
0
1
567

文档上写的好玄乎:

https://w3c.github.io/resourc...

The startTime attribute must return a DOMHighResTimeStamp [HR-TIME-2] with the time immediately before the user agent starts to queue the resource for fetching. If there are HTTP redirects or equivalent when fetching the resource, and if all the redirects or equivalent are from the same origin as the current document or the timing allow check algorithm passes, this attribute must return the same value as redirectStart. Otherwise, this attribute must return the same value as fetchStart.

这个时间具体的计算方式是什么?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回覆(1)
巴扎黑

沒用過。看文檔的意思是說這個屬性是一個高精度的時間戳記。 搜下HR-TIME-2是什麼樣的看看。

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!