Skip to content

Lighthouse

Entry #322 / 700 · Chapter 7 · 7.1 Google's four official toolkits · Read in Chinese →
In one sentence

An open-source automated audit built into Chrome DevTools that scores a page on performance, accessibility, best practices, and SEO.

Analogy Mental model

A handheld building inspector you carry in your pocket. No appointment at a testing lab, no upload, just open the browser and get a report.

In practice What you actually do

Open DevTools, switch to the Lighthouse panel, tick performance, accessibility, and SEO, choose mobile, and run the audit. Because it works on whatever the browser currently has loaded, it is the fastest way to check a staging environment that is not yet public.

Where people get burned Pitfalls

Extensions distort the result badly. Ad blockers, translators, and page modifiers all inject scripts that the audit counts against you, so always run it in an incognito window with extensions disabled.

This entry was written in English from the Chinese original, not machine-translated. Read the Chinese version →