Skip to content

Fix: give the badge screenshots content-hashed filenames - #25

Merged
SandObserver merged 1 commit into
mainfrom
fix/badge-screenshot-cache-busting
Aug 30, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/badge-screenshot-cache-busting

Conversation

@SandObserver

@SandObserver SandObserver commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Rename public/img/dashboard/badge-labels.png and badge-list.png to include an 8-character content hash of each file.
  • Point the two figures on the badges page at the new filenames.

Testing
npm run build and npm run check both pass. Image bytes are unchanged, so rendering is unaffected.

Checklist

  • npm run build and npm run check both pass.
  • Product UI is shown by running or capturing it, never recreated in CSS.
  • Any new preview or screenshot carries no private hostnames or real data.
  • Visual changes verified in both colour schemes and both docs themes.
  • Links to the app repo still resolve.

Rename badge-labels.png and badge-list.png to carry a content hash so a
replaced image is served under a new URL. Files in public/ are sent with a
one-year immutable cache, so reusing a filename leaves the previous image at
the edge.
@SandObserver SandObserver added the documentation Improvements or additions to documentation label Aug 30, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying stackyard-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6580305
Status: ✅  Deploy successful!
Preview URL: https://a6962f0b.stackyard-docs.pages.dev
Branch Preview URL: https://fix-badge-screenshot-cache-b.stackyard-docs.pages.dev

View logs

@SandObserver
SandObserver merged commit 926ba8e into main Aug 30, 2026
2 checks passed
@SandObserver
SandObserver deleted the fix/badge-screenshot-cache-busting branch August 30, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant