Skip to content

Conversation

@paveg
Copy link
Owner

@paveg paveg commented Jan 3, 2026

Summary

  • Disable noisy Lighthouse assertions that don't reflect real issues
  • Optimize Geist Mono font weight (400 only, used in code blocks)
  • Document disabled assertions with reasons

Disabled Assertions

Assertion Reason
unused-css-rules Google Fonts includes styles for all unicode ranges
unused-javascript Code splitting causes "unused" JS on initial load
render-blocking-resources Returns NaN in SPA configuration

Lighthouse Scores

  • Performance: 99%
  • Accessibility: 100%
  • SEO: 100%

Test plan

  • Local Lighthouse CI passes without warnings
  • Font optimization verified (Geist Mono 400 only)
  • CI pipeline passes

🤖 Generated with Claude Code

- Disable noisy assertions (unused-css, unused-js, render-blocking)
  - unused-css: Google Fonts includes all unicode ranges
  - unused-js: Code splitting causes "unused" on initial load
  - render-blocking: Returns NaN in SPA config
- Optimize Geist Mono to 400 weight only (used in code blocks)
- Add docs/LIGHTHOUSE_CONFIG.md explaining disabled assertions

Lighthouse scores: Performance 99%, Accessibility 100%, SEO 100%

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
devcard 1c77d0c Commit Preview URL

Branch Preview URL
Jan 03 2026, 07:48 AM

@paveg paveg enabled auto-merge (squash) January 3, 2026 07:48
@paveg paveg merged commit 991f7f8 into main Jan 3, 2026
5 checks passed
@paveg paveg deleted the perf/lighthouse-config-tuning branch January 3, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants