Skip to content

perf(seo): optimize og-image under 300 KB and add 320x132 <30 KB email-footer logo - #25

Merged
JohnBendfeldt merged 1 commit into
mainfrom
perf/optimize-og-images
Nov 27, 2026
Merged

JohnBendfeldt merged 1 commit into
mainfrom
perf/optimize-og-images

Conversation

@JohnBendfeldt

Copy link
Copy Markdown
Owner

Summary

  • OG Image Optimization (public/og-image.png): Optimized 1200x630 PNG8 from 522,589 B (510.3 KB) down to 196,737 B (192.1 KB) to fit well below WhatsApp's 300 KB thumbnail cap.
  • Google Workspace & Email Footer Asset (public/email-footer.svg, public/email-footer.png): Added a dedicated 320x132 standard sRGB PNG8/24 banner (18,648 B / 18.2 KB) matching Google Workspace Admin Personalisation requirements (< 30 KB, 320x132).
  • Tests (src/__tests__/seoAudit.test.ts): Tightened og-image.png limit to < 300 * 1024 and enforced email-footer.png < 30 * 1024.

Verification

  • npm test: 61/61 test suites (1,612/1,612 tests) passed.
  • npm run build: clean production build with 15 offline packs and 105 SEO routes.

@JohnBendfeldt
JohnBendfeldt merged commit 48824dc into main Nov 27, 2026
4 checks passed
@JohnBendfeldt
JohnBendfeldt deleted the perf/optimize-og-images branch November 27, 2026 22:33
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