Skip to content

Optimize large blog images and Tibet clip - #19

Merged
easonxiang merged 1 commit into
masterfrom
codex/image-optimization-r2
Oct 24, 2026
Merged

easonxiang merged 1 commit into
masterfrom
codex/image-optimization-r2

Conversation

@easonxiang

Copy link
Copy Markdown
Contributor

Summary

  • Replace 27 large article image references with 1600px WebP versions in R2.
  • Replace the 43 MB Tibet GIF with a 960×540 H.264 loop video and animated WebP fallback.
  • Preserve all original R2 objects for rollback.

Results

  • The 27 large still images shrink from 44.04 MB to 8.82 MB (about 80%).
  • The Tibet clip shrinks from 43.09 MB to 6.11 MB as MP4 (about 86%); animation and 10.6-second duration are retained.
  • Optimized public R2 objects were downloaded and verified against their source SHA-256 and MIME type.

CI should validate the Astro build and rendered content.

@easonxiang
easonxiang enabled auto-merge (squash) October 24, 2026 02:06
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying weenas-blog with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee6c9e6
Status: ✅  Deploy successful!
Preview URL: https://43494ee4.blog-astro-92t.pages.dev
Branch Preview URL: https://codex-image-optimization-r2.blog-astro-92t.pages.dev

View logs

@easonxiang
easonxiang merged commit 5c663f1 into master Oct 24, 2026
3 checks passed
@easonxiang
easonxiang deleted the codex/image-optimization-r2 branch October 24, 2026 02:07
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