文章詳情頁
html5 - Performance API 當中的 startTime 具體的含義是什么?
瀏覽:164日期: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. linux - 編譯時提示頭文件#include <mysql/mysql.h>不存在,百度之后也沒解決2. node.js - nodejs 如何在centos下后臺運行,nohup和forever都不行呀3. javascript - 關于webpack的問題,很簡單4. excel - 要如何在號碼前面加0 ? JAVA5. html5 - 有什么好的方法防止微信公眾號發紅包被刷么?6. java - linux安裝idea出錯JDK Required: ’tools.jar’ seems to be not in IDEA7. css - 移動端字體設置問題8. javascript - 前端需要在頁面中展示PPT,請問有沒有什么好的方法?9. javascript - 微信返回按鈕能監聽到嗎?后退了就刷新這個頁面能嗎10. html5 - H5做的手機分享頁微信更新后,分享出去不再默認顯示第一個圖 作為縮略圖
排行榜
