Repository navigation
[docs-seo-status] fix(site): a share card X will actually fetch — 1.7… - #25
Merged
Merged
Conversation
…8MB PNG to a 151KB JPEG The OG image was a 1536x1024 PNG weighing 1.78MB and X was rendering no card at all. Two things wrong with it at once. Format: PNG is lossless and this is a 3D render, so it stored a photograph pixel by pixel. The same frame as JPEG at q82 is 151KB — 91% smaller with nothing a viewer can see missing, and scrapers fetch it in a fraction of the time. This is the file the WebP pass deliberately left alone, on the grounds that crawlers read it and WebP support there is uneven; that reasoning holds and JPEG is the format it should have been. Ratio: 3:2 is not what summary_large_image renders. Cropped from the centre to 1.91:1, which keeps all four agents and the pad and loses only the base of the lower tables. The URL changes with the extension, which is useful here — X caches a card per URL, so a new one is fetched fresh instead of waiting out the old negative result. Also added twitter:image:alt (X reads its own, not og:image:alt) and og:image:type, which lets a scraper know the format before it downloads. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01VGYnqPKtsrWfugEKyASb7a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…8MB PNG to a 151KB JPEG
The OG image was a 1536x1024 PNG weighing 1.78MB and X was rendering no card at all. Two things wrong with it at once.
Format: PNG is lossless and this is a 3D render, so it stored a photograph pixel by pixel. The same frame as JPEG at q82 is 151KB — 91% smaller with nothing a viewer can see missing, and scrapers fetch it in a fraction of the time. This is the file the WebP pass deliberately left alone, on the grounds that crawlers read it and WebP support there is uneven; that reasoning holds and JPEG is the format it should have been.
Ratio: 3:2 is not what summary_large_image renders. Cropped from the centre to 1.91:1, which keeps all four agents and the pad and loses only the base of the lower tables.
The URL changes with the extension, which is useful here — X caches a card per URL, so a new one is fetched fresh instead of waiting out the old negative result.
Also added twitter:image:alt (X reads its own, not og:image:alt) and og:image:type, which lets a scraper know the format before it downloads.
Claude-Session: https://claude.ai/code/session_01VGYnqPKtsrWfugEKyASb7a