Repository navigation
perf(site): serve release images through astro:assets - #184
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
A release image renders at 3840 pixels wide, and every visitor downloaded that PNG. They now get WebP at the size they need, and film posters shrink too.
maximebrmd
force-pushed
the
feat/site-release-images
branch
from
November 6, 2026 14:41
604bbaf to
51058a0
Compare
maximebrmd
force-pushed
the
feat/changelog-playback
branch
from
November 6, 2026 14:41
4dd8650 to
1e60ed4
Compare
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.
Why
ReleaseMedia.astroserved release stills as raw PNGs, and #180 renders them at 3840x2160, so a phone would download the full file.What changed
Following Astro's "Dynamically import images" recipe, stills use
<Image>withsrcsetand film posters usegetImage, both as WebP. The PNGs stay published for the app bundle and social previews.Verification
make site-check site-testpass. The 0.8.0 poster goes from 57 KB to 16 KB.imagehighlight exists yet, so I switched one temporarily and read the build output: WebP,srcset, lazy loading, and the component's scoped styles all apply. That change is not committed.Targets #178, which owns the player, so hosted CI runs only once it is retargeted to
main.