摘要: 浏览器控制台输入:performance.getEntriesByType('navigation'),可以检测网页加载数据以及加载的性能 例如: 其中: DNS查询耗时 通过使用domainLookupEnd - domainLookupStart 就等于dns查询的时间 TCP链接耗时 通过 c 阅读全文
posted @ 2021-04-20 11:52 yuan_bao_er 阅读(203) 评论(0) 推荐(0) 编辑