文章详情页
html5 - Performance API 当中的 startTime 具体的含义是什么?
浏览:211日期: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. dockerfile - 为什么docker容器启动不了?2. 为什么我ping不通我的docker容器呢???3. angular.js - angular内容过长展开收起效果4. debian - docker依赖的aufs-tools源码哪里可以找到啊?5. docker - 如何修改运行中容器的配置6. angular.js使用$resource服务把数据存入mongodb的问题。7. java - xml 传输数据如何处理更好8. javascript - h5上的手机号默认没有识别9. java - logback可以生成文件,但是日志无法输出到文件内?10. mac里的docker如何命令行开启呢?
排行榜

网公网安备