Skip to content

fix(www): version preview assets - #195

Merged
KyleTryon merged 2 commits into
mainfrom
fix/www/version-preview-assets
Sep 11, 2026
Merged

KyleTryon merged 2 commits into
mainfrom
fix/www/version-preview-assets

Conversation

@KyleTryon

Copy link
Copy Markdown
Contributor

Summary

  • import homepage preview videos through Astro so each capture receives content-hashed URLs
  • update the capture writer to place videos in the website asset graph
  • document why stable public preview URLs can pair stale videos with updated posters

Root cause

The poster was fingerprinted while /preview.webm and /preview.mp4 retained stable URLs with week-long caching. Browsers prefer WebM, allowing an older cached recording to appear on hover.

Validation

  • pnpm build:web
  • verified generated homepage video URLs use /_astro/<name>.<hash>.<format>
  • pnpm preflight

Import homepage preview videos through Astro so deployments fingerprint each capture. This prevents stale public video URLs from being paired with a newly hashed poster.
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
cliparr-web d49a2fd Commit Preview URL

Branch Preview URL
Sep 11 2026, 03:49 PM

@KyleTryon
KyleTryon marked this pull request as ready for review September 11, 2026 15:51
@KyleTryon
KyleTryon merged commit 9026411 into main Sep 11, 2026
3 checks passed
@KyleTryon
KyleTryon deleted the fix/www/version-preview-assets branch September 11, 2026 15:59
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