Repository navigation
perf: optimize OG images — WebP variant + PNG optimization - #424
Conversation
- Convert og-default.png to WebP: 88K → 24K (-73%) - Optimize PNG fallback with optipng: 88K → 66K (-25%) - Total savings: 64K per page load without OG image
|
|
|
@dominicusin Thanks for sending me some feedback. Unfortunately, I hit an error while trying to use the custom Copilot setup steps configured for this repository. The error I am seeing is: Once you or someone with the necessary access fixes the problem, please let me know in a comment and I'll try again. Thanks! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
⛔ Files ignored due to path filters (1)
⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for pr 8000 ocessing (1)
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
PR Summary by QodoOptimize default social image with WebP and compressed PNG
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Browsers never receive the WebP image
|
Summary
og-default.pngto WebP: 88K → 24K (-73%)Why
Every page on the site references the OG image as a fallback. The original 88K PNG was the largest static asset. WebP provides 73% savings for browsers that support it, while the optimized PNG serves as fallback for social media crawlers (Twitter/FB don't support WebP in og:image).
Validation
cwebp -q 85(quality 85, visually lossless)optipng -o2(lossless compression)