Repository navigation
chore(web): store each competitor screenshot once in the blog library - #8134
Merged
Merged
Conversation
The same product screenshots (MeetGeek, Granola, Otter, Tactiq, Fireflies, ...) were uploaded separately for every article, up to six times each, often as heavier PNG re-encodes. Each now lives once under blog/library/products/<product>/<feature>/ and every article points there. - Repoint 64 article image references to 23 canonical library objects (21 new copies of the lightest full-size version, 2 existing ones) - static.anarlog.so Worker 301s the old article paths to their library path, so links from search engines and other sites keep working once the old objects are deleted
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.
Summary
Intent: The same competitor screenshots were uploaded again for every article that used them: MeetGeek 6 times; Granola and Otter 5; Tactiq 4; Fireflies, Jamie, Sonnet, Notta and Sembly 3 each. Many copies were PNG re-encodes about 10× heavier than the webp. Each screenshot now lives once in the shared
blog/library/products/<product>/<feature>/folder, and every article points there.The duplicates were found by perceptual image hash and checked against each image's alt text and dimensions.
Demo
N/A: same images, new URLs.
media:figures:checkHEADs every referenced URL.Verification
pnpm -F @anlg/web typecheck,pnpm -F @anlg/web test(378 pass, including a new Worker redirect test)pnpm -F @anlg/web media:figures:check: all 240 referenced blog assets resolvewrangler deploy --dry-run --config wrangler.static-assets.jsoncSummary by cubic
Deduplicates competitor product screenshots across blog articles so each screenshot is stored once in
blog/library/products/instead of re-uploaded per article, and keeps old URLs working through Worker redirects.301redirect in thestatic.anarlog.soWorker from each old article path to its library path so search engines and external links keep working.Written for commit 10e48ce. Summary will update on new commits.