Skip to content

post(unreadable): real PSI metrics + lighthouse screenshot#31

Merged
igorhasse merged 1 commit into
mainfrom
post/unreadable-real-metrics
Apr 28, 2026
Merged

post(unreadable): real PSI metrics + lighthouse screenshot#31
igorhasse merged 1 commit into
mainfrom
post/unreadable-real-metrics

Conversation

@igorhasse
Copy link
Copy Markdown
Owner

Summary

Real PageSpeed Insights numbers (92 mobile / 100 desktop) replace the local Chrome headless ones (99) that were posted earlier. Plus the screenshot `lighthouse.png` arrives in the bundle.

Changes

  • `content/posts/unreadable/{pt-BR,en}.md` — Performance row, opening claim, and description updated to match PSI.
  • `content/posts/unreadable/lighthouse.png` — added to bundle. `assetsPlugin` copies it to `public/posts/unreadable/` at build, and the markdown reference `./lighthouse.png` resolves to `/posts/unreadable/lighthouse.png`.
  • `.gitignore` — excludes `public/posts/` (build-time generated dir).
  • RSS regen — surface from build.

Test plan

  • After deploy, screenshot loads at `/posts/unreadable` (both locales).
  • OG image preview unchanged (text-only template still works).
  • PSI re-run shows the table numbers reflect what's published.

🤖 Generated with Claude Code

Updates after running PageSpeed Insights against production with
the perf fixes from #30 already in place:

- Performance: 92 mobile, 100 desktop (PSI numbers, not local
  Chrome headless). Updated table + opening claim accordingly.
- Description rewritten to match: "92/100 no Lighthouse".
- Added lighthouse.png screenshot to the bundle. assetsPlugin
  copies it to public/posts/unreadable/lighthouse.png at build.
- Title kept as plain YAML scalar (no quotes); js-yaml accepts
  this fine, and the user has explicit preference against quotes.

Also:
- .gitignore now excludes public/posts/ (build-time generated by
  assetsPlugin from content/posts/<slug>/*.{jpg,png,...}).
- RSS regen surface from build.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@igorhasse igorhasse merged commit a5f5050 into main Apr 28, 2026
3 checks passed
@igorhasse igorhasse deleted the post/unreadable-real-metrics branch April 28, 2026 18:41
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.

1 participant