html5 - Performance API 當中的 startTime 具體的含義是什么?
問題描述
文檔上寫的好玄乎:
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是什么樣的看看。
相關(guān)文章:
1. javascript - 如何讓移動端網(wǎng)頁的輸入框固定在底部?2. docker鏡像push報錯3. angular.js - angularjs的自定義過濾器如何給文字加顏色?4. angular.js - angular內(nèi)容過長展開收起效果5. MySQL中無法修改字段名的疑問6. javascript - 微信小程序限制加載個數(shù)7. 請教各位大佬,瀏覽器點 提交實例為什么沒有反應8. 網(wǎng)頁爬蟲 - 用Python3的requests庫模擬登陸B(tài)ilibili總是提示驗證碼錯誤怎么辦?9. android - QQ物聯(lián),視頻通話10. 大家好,請問在python腳本中怎么用virtualenv激活指定的環(huán)境?
