Lighthouse
Lighthouse is a free, open-source Google tool for automatically auditing the quality of websites. It analyzes a site for performance, accessibility, adherence to best practices and SEO, and presents the results as numeric scores (0–100) together with concrete remediation recommendations. It is one of the essential tools in the work of website optimization.
How Lighthouse works
Lighthouse simulates loading a page under controlled conditions (often throttling connection speed and device power to mimic an average mobile user), then measures a range of indicators and issues scores in several categories:
- Performance — loading speed, including Core Web Vitals metrics such as LCP and CLS;
- Accessibility — how usable the page is for people with disabilities;
- Best Practices — security and technical correctness;
- SEO — the basic factors affecting visibility in search.
The tool can be run in several ways: from the Lighthouse tab in Chrome DevTools, from the command line, as a Node.js module in CI/CD pipelines, and indirectly through PageSpeed Insights.
Practical application
Lighthouse is used by developers and SEO specialists to diagnose performance problems and set optimization priorities. The report shows, among other things, which resources block rendering, where image compression is missing and which scripts most delay interactivity. The scores are best treated as guidance rather than a rigid target — real user experience is best reflected by field data (e.g. from PageSpeed Insights). Regular audits help maintain high site quality and better search rankings.
Wiring Lighthouse into a continuous integration process is especially valuable: run automatically on every code change, it can catch a performance regression before it ever reaches production. The score, however, depends on the test conditions — server load, bandwidth and device power — so a single measurement can be misleading, and observing the trend across many runs is more reliable. Lighthouse is best treated as a diagnostic tool that points the direction of work; the ultimate verification always remains the real experience of users visiting the site on a variety of devices.
Powiązane pojęcia
Najczęstsze pytania
What is the difference between Lighthouse and PageSpeed Insights?
Both tools use the same Lighthouse engine. The difference lies in the data source: Lighthouse run locally (e.g. in DevTools) performs a lab measurement under controlled conditions. PageSpeed Insights additionally adds field data (from real users in the CrUX report), giving a fuller picture of actual performance.
