我在运行性能测试时遇到了这个问题。
建议是以隐身方式运行它,但我正在以隐身方式运行它并且仍然遇到这个问题。
它仍在运行测试并给我一个分数,但似乎有些影响。
There were issues affecting this run of Lighthouse: There may be stored data affecting loading performance in this location: IndexedDB. Audit this page in an incognito window to prevent those resources from affecting your scores.
最佳答案
我面临同样的问题:
站点数据在 indexdb 中显示了一些数据,尽管当我通过单击节点进行调查时 indexdb 本身显示为空。清除站点数据后,indexdb 变为 0 广告,一切似乎都已清除。警报保持不变。
在隐身模式下运行灯塔时,警报不存在,因此该提示至少在我的机器上可以正常工作。
关于javascript - 隐身灯塔性能问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67237242/