灯塔多个 URL [英] Lighthouse Multiple URLs

查看:29
本文介绍了灯塔多个 URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要对一个网站进行全面审核,但我想知道是否有任何方法可以让 Lighthouse 做到这一点.我知道他们不支持完整的站点审计或多个 URL,但我发现它可以通过使用 bash 脚本来完成.因此,我将不胜感激对此案的任何帮助!或者,也许您会推荐任何灯塔替代品?

There's a website I need to do a full audit on, but I'm wondering if there's any way to make Lighthouse do it. I know they don't support full site audits or multiple URLs, but I found out that it could maybe be done with using bash scripts. So I would appreciate any help on this case! Or maybe any Lighthouse alternatives you'd recommend?

先谢谢你!

推荐答案

在我公司,我们想收集我们登陆网站、应用产品以及竞争对手产品的大部分页面的网站性能数据,所以有时有数百个 URL 需要审核.

In my company, we wanted to collect website's performance data on most of the pages on our landing website, app product, and also our rivals' product, so sometimes there are hundreds of URLs that need to be audited.

我创建了一个工具:

灯塔批量并行

可以审计多个 URL.您可以在 JS Object、JSON、CSV 流中获取报告结果,也可以仅使用提供的 cli-tool 生成 .csv.json 中的报告.

which could audit multiple URLs. You can get the report result in JS Object, JSON, CSV stream, or you can just use the provided cli-tool to generate the report in .csv or .json.

这篇关于灯塔多个 URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆