文章詳情頁
html5 - Performance API 當中的 startTime 具體的含義是什么?
瀏覽:150日期:2023-01-23 11:00:54
問題描述
文檔上寫的好玄乎:
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是什么樣的看看。
標簽:
Html5
相關文章:
1. css - outline 可以只設置一條邊嗎?2. testtongji.php 代碼返回數據整理最后想要的結果3. javascript - vue監聽data中的某一數組的某一項4. javascript - 一個很特殊的跳轉方式,想問問怎么做到的!5. html - css布局問題,背景用用div畫的三角形是否用absolute與z-index來定位與規定在下方是否是個好方案6. 淺談vue生命周期共有幾個階段?分別是什么?7. index.php錯誤,求指點8. html5 - 如何實現圖中的刻度漸變效果?9. javascript - 求助一個關于indexedDB的問題10. css - 關于偽類背景問題
排行榜
