文章详情页
html5 - Performance API 当中的 startTime 具体的含义是什么?
浏览:142日期: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. javascript - fis3使用MD5但是如何引用?2. css - 怎么实现一个圆点在一个范围内乱飞3. javascript - JAVA写的H5页面能否解释一下流程4. 网页爬虫 - python爬虫翻页问题,请问各位大神我这段代码怎样翻页,还有价格要登陆后才能看到,应该怎么解决5. javascript - 使用form进行页面跳转,但是很慢,如何加一个Loading?6. docker-compose中volumes的问题7. docker-machine添加一个已有的docker主机问题8. javascript - 后台管理系统左侧折叠导航栏数据较多,怎么样直接通过搜索去定位到具体某一个菜单项位置,并展开当前菜单9. python 计算两个时间相差的分钟数,超过一天时计算不对10. javascript - html5的data属性怎么指定一个function函数呢?
排行榜
