Running Lighthouse Audits
This guide explains how to run Lighthouse audits and update the results on your site.
Quick Method: Online Tool
- Visit PageSpeed Insights
- Enter:
https://whoissean.dev - Click “Analyze”
- View performance scores and recommendations
- Update
/lighthouse-results.markdownwith the scores
Chrome DevTools Method
- Open
https://whoissean.devin Chrome - Press
F12(or Right-click → Inspect) - Go to the “Lighthouse” tab (or press
Ctrl+Shift+P→ type “Lighthouse”) - Select categories:
- ✅ Performance
- ✅ Accessibility
- ✅ Best Practices
- ✅ SEO
- Click “Analyze page load”
- Wait for results (~30-60 seconds)
- Screenshot the results or note the scores
- Update the
/lighthouse-results.markdownfile
Command Line Method (Advanced)
If you have Node.js installed:
# Install Lighthouse globally
npm install -g lighthouse
# Run audit
lighthouse https://whoissean.dev --view
# Save as HTML report
lighthouse https://whoissean.dev --output html --output-path ./lighthouse-report.html
# Save as JSON (for parsing)
lighthouse https://whoissean.dev --output json --output-path ./lighthouse-report.json
What Scores to Record
For each page you audit, record:
- Performance score (0-100)
- Accessibility score (0-100)
- Best Practices score (0-100)
- SEO score (0-100)
- Core Web Vitals:
- LCP (Largest Contentful Paint)
- FID (First Input Delay) / TBT (Total Blocking Time)
- CLS (Cumulative Layout Shift)
Updating the Lighthouse Results Page
- Open
whoissean-blog/lighthouse-results.markdown - Replace placeholder text with actual scores
- Add date:
Last audit date: [Your Date] - Commit and push to GitHub
- Site will update automatically
Expected Scores for This Site
Given the optimizations:
- Performance: Should be 70-90+ (good static site performance)
- Accessibility: Should be 90-100 (semantic HTML, ARIA labels)
- Best Practices: Should be 90-100 (HTTPS, modern standards)
- SEO: Should be 90-100 (meta tags, sitemap, robots.txt)
Tips for Better Scores
If scores are lower than expected:
- Images: Ensure all images are optimized (already done with 50% width)
- Fonts: Use system fonts or preload web fonts
- JavaScript: Minimize inline scripts (already using external JS)
- CSS: Minify CSS (Jekyll handles this)
- Caching: GitHub Pages handles HTTP headers automatically
This file is for reference only and won’t be published on the site.