灯塔谈话记录错误_如何保留灯塔报告的历史记录

灯塔谈话记录错误

Lighthouse is an open-source project from the Google Chrome team. It's used to analyze web page quality based on a set of modern, "user-centric" metrics.

Lighthouse是Google Chrome小组的一个开源项目。 它用于基于一组现代的“以用户为中心”的指标来分析网页质量。

When supporting websites that rely on organic search results for revenue, quality is critical. Performance, accessibility and general SEO best practices are major factors in search engine rankings.

在支持依赖自然搜索结果获取收入的网站时,质量至关重要。 性能,可访问性和一般的SEO最佳做法是搜索引擎排名的主要因素。

Lighthouse provides a granular set of metrics that represent these factors and suggestions of improvement in reporting.

Lighthouse提供了一组细化的度量标准,这些度量标准代表了这些因素以及报告方面的改进建议。

There are many ways of running Lighthouse, but in the real world you may want to compare reports regularly, especially in continuous change workflows. With that said, you might be wondering - how can I keep track of SEO, performance, and accessibility changes over time?

运行Lighthouse的方法很多 ,但在现实世界中,您可能需要定期比较报表,尤其是在连续更改工作流中。 这么说,您可能想知道- 我如何跟踪SEO,性能和可访问性随时间的变化

This post covers how to use Automated Lighthouse Check to analyze website quality over time. But keep in mind that there are many other Lighthouse integrations to choose from.

这篇文章介绍了如何使用自动灯塔检查来分析网站的质量。 但是请记住,还有许多其他Lighthouse集成可供选择。

在时间轴中保存报告和查看结果 (Saving Reports and Viewing Results in a Timeline)

Lighthouse scoring is an interesting aspect of the tool that may feel a little dirty at first. Still, it can be a very useful point of comparison when looking at historical data.

灯塔计分是该工具的一个有趣方面,乍一看可能有点脏。 不过,在查看历史数据时,它可能是非常有用的比较点。

The performance category in particular is quite complicated in its calculation of score and you can find a lot of great reading about the topic among others on web.dev.

特别是性能类别,其得分计算非常复杂,您可以在web.dev上找到很多关于该主题精彩读物

Automated Lighthouse Check provides a means of manually triggering audits or establishing a schedule in which they run automatically throughout the day. These audits are saved in a database so you can visualize and analyze results at a historical level. You can actually drill into any report in time to see full details (see an example here).

自动化的Lighthouse Check提供了一种手动触发审核或建立时间表的方法,这些审核将在一天中自动运行。 这些审核将保存在数据库中,因此您可以在历史级别上可视化和分析结果。 实际上,您可以及时钻取任何报告以查看完整的详细信息( 在此处查看示例 )。

For a guide to getting started with Automated Lighthouse Check, see the documentation.

有关自动灯塔检查入门的指南, 请参阅文档

Timeline view of Lighthouse scores
灯塔分数的时间线视图
A historical list of Lighthouse audits
灯塔审核的历史记录

DevOps中的Lighthouse Automation (Lighthouse Automation in DevOps)

Not only are there many useful cloud-based Lighthouse tools, but there are also many open-source projects that can be implemented in a variety of DevOps workflows. Some of these solutions support persistence of data in one form or another, to track historically.

不仅有许多有用的基于云的Lighthouse工具,而且还有许多可以在各种DevOps工作流程中实施的开源项目。 这些解决方案中的某些解决方案支持以一种或另一种形式进行数据的持久性以进行历史跟踪。

Below are a few examples that I've contributed to.

以下是一些我贡献的示例。

A few friends - Octocat, Jenkins, CircleCI
一些朋友-Octocat,Jenkins,CircleCI

结论 (Conclusion)

I hope this post was helpful in providing solutions for analyzing website quality historically. Help support your local developers by purchasing their software 💖

我希望这篇文章对提供历史分析网站质量的解决方案有所帮助。 通过购买软件来帮助支持本地开发人员

But in all seriousness, I'd love any feedback about Automated Lighthouse Check... comments, suggestions, feature requests, etc. It's about a year old at the time of this writing and has recently been migrated to Kubernetes for high availability.

但说真的,我很乐意收到有关自动灯塔检查...评论,建议,功能请求等的任何反馈。在撰写本文时,它已经存在大约一年了,最近已迁移到Kubernetes以实现高可用性。

Automated Lighthouse Check provides free and premium plans.

自动化的Lighthouse Check提供免费和高级计划

翻译自: https://www.freecodecamp.org/news/how-to-keep-a-historical-record-of-lighthouse-reports/

灯塔谈话记录错误