What is Lighthouse?
Lighthouse is an open-source, automated tool developed by Google for improving web page quality. It audits performance, accessibility, SEO, and best practices.
Lighthouse Categories
Performance (0-100)
Measures how fast your page loads and becomes interactive.
Accessibility (0-100)
Checks how accessible your page is to users with disabilities.
Best Practices (0-100)
Evaluates modern web development practices.
SEO (0-100)
Checks basic search engine optimization.
PWA
Validates Progressive Web App requirements.
Understanding Performance Metrics
Key Metrics Weighted
| Metric | Weight |
|--------|--------|
| Total Blocking Time | 30% |
| Largest Contentful Paint | 25% |
| Cumulative Layout Shift | 25% |
| First Contentful Paint | 10% |
| Speed Index | 10% |
Running Lighthouse Audits
Chrome DevTools
Command Line
`` npx lighthouse https://example.com --view
bash
``
PageSpeed Insights
Visit pagespeed.web.dev for combined lab and field data.
Improving Your Scores
Quick Wins
Advanced Optimizations
Run a Lighthouse audit with our free performance tool.