您的位置:首頁技術文章
文章詳情頁

html5 - Performance API 當中的 startTime 具體的含義是什么?

瀏覽:113日期: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:

沒用過??次臋n的意思是說這個屬性是一個高精度的時間戳。 搜下HR-TIME-2是什么樣的看看。

標簽: Html5
相關文章:
国产综合久久一区二区三区