文章详情页
html5 - Performance API 当中的 startTime 具体的含义是什么?
浏览:173日期: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 - ios返回不执行js怎么解决?2. 布局 - android 微信切换栏3. 为什么php修改数据无法同步到数据库,只是当前页面修改成功?4. python - django在nginx里模板输出html标签问题5. javascript - 后端传过来的数据格式是这样,如何使用?6. node.js - mysql如何通过knex查询今天和七天内的汇总数据7. css - linear-gradient无效是怎么回事?8. javascript - JS 中,’a’ 在内存中占2个字节还是1个字节?9. javascript - 为什么element.style打印出的对象中的transform有值,而打印出来的transform没值?10. javascript - vue-router怎么不能实现跳转呢
排行榜

网公网安备