简体   繁体   English

Incognito Lighthouse 性能问题

[英]Incognito Lighthouse performance issues

I am getting this issue while running a performance test.我在运行性能测试时遇到了这个问题。

The suggestions is to run it in incognito, but I am running it in incognito and still getting this issue.建议是在隐身模式下运行它,但我在隐身模式下运行它,但仍然遇到这个问题。

It is still running the test and giving me a score, but it seems something is affecting.它仍在运行测试并给我一个分数,但似乎有什么影响。

There were issues affecting this run of Lighthouse: There may be stored data affecting loading performance in this location: IndexedDB.存在影响此 Lighthouse 运行的问题:可能存储的数据会影响此位置的加载性能:IndexedDB。 Audit this page in an incognito window to prevent those resources from affecting your scores.在隐身 window 中审核此页面,以防止这些资源影响您的分数。

i face the very same issue:我面临同样的问题:

在此处输入图像描述

site data showed some amount of data in indexdb although indexdb itself appears empty when i investigate it by clicking the node.站点数据显示 indexdb 中有一些数据,尽管当我通过单击节点进行调查时 indexdb 本身显示为空。 after clearing site data indexdb went to 0 ad everything appears cleared.清除站点数据后,indexdb 变为 0 广告,一切似乎都已清除。 the alert remains unchanged.警报保持不变。

when running lighthouse in incognito mode the alert is not there, so that hint at least works fine on my machine.在隐身模式下运行灯塔时,警报不存在,因此该提示至少在我的机器上运行良好。

I managed to clear this message by going in to the "Application" tab in Inspector and clicking "Clear site data" and then rerunning the Lighthouse test.我设法通过进入 Inspector 中的“应用程序”选项卡并单击“清除站点数据”然后重新运行 Lighthouse 测试来清除此消息。

EDIT: spoke too soon... It seemed to clear it the first time and then the 2nd time I tried to re-run the test I got the same warning message.编辑:说得太早了......似乎第一次清除它,然后第二次我尝试重新运行测试我得到了相同的警告信息。 Perhaps it's not clearing everything?也许它没有清除一切?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM