Optimize web static assets#7974
Merged
Merged
Conversation
… assertive - Tighten the blog intro and prose; cut hype words and em-dash pile-ups - Set blog date to 2026-06-19 and series index to 6 (avoids clash with create-prisma) - Make the docs intro/voice more direct and add backlinks (deployments, branching, configuration, pricing, blog) - Cross-link the blog to the rest of the Compute series and to Prisma Postgres Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… prose
Apply the deslop pass without changing meaning: remove filler ("Let's break
that down", "honest", "genuinely", "precisely"), collapse duplicated ideas
(the cache-headers and fastest-transform lead-ins), lock "standalone image
service" as one term, and replace em-dash asides with cleaner punctuation.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Spellcheck: add "lanczos" and "EXIF" to the docs cspell dictionary (CI was failing) - Links: drop the cross-domain link to the not-yet-published blog post (lychee 404) - Docs: flag that the minimal example's `immutable` header assumes versioned sources, linking to the Caching section - Blog: give Bun.hash a fixed seed so the disk-cache filename is stable across restarts and instances Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Avoids an empty lead paragraph (template renders page.data.excerpt directly). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…laims - Replace the placeholder hero with the "Image transforms as app logic" pipeline SVG, add the PNG as the social/meta image, update alt text - Positioning: "for free" -> "at no extra charge" (you still pay normal Compute usage), drop an unearned "fast" Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…a-compute/index.mdx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Caution Review failedThe pull request is closed. WalkthroughEleven blog MDX files have their ChangesBlog MDX content cleanup
Postman Collection Script
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Comment |
25824ba to
a1eeef1
Compare
Re-encode 372 of the PR's added/modified PNGs with pngquant at a quality floor of 82-98 (lossy palette, strip metadata), keeping the original whenever the optimized output was not smaller. This includes the 11 blog hero images that were converted from base64-wrapped SVGs to full-truecolor PNGs in this PR but left unquantized. Saves ~61 MB (123.7 MB -> 62.5 MB across the changed PNG set, 49%) with no visible quality loss; gradient heroes and text-heavy screenshots were spot-checked. 22 PNGs that could not meet the quality floor were left untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ations-compute # Conflicts: # apps/blog/content/blog/agentic-engineering-at-prisma/index.mdx # apps/blog/content/blog/drive-and-the-maker/index.mdx # apps/blog/public/image-transformations-with-bun-on-prisma-compute/imgs/hero.svg # apps/blog/public/image-transformations-with-bun-on-prisma-compute/imgs/meta.png # apps/docs/content/docs/compute/meta.json
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
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
heroImagePathreferences.Asset Report
Full report is committed in
asset-optimization-report.md.Top savings by type:
.svg.png.gif.mp4.movValidation
git diff --checkpnpm install --frozen-lockfilepnpm --filter blog run types:checkpnpm --filter docs run fetch-openapipnpm --filter docs run generate:postman-collectionfont-face/data:fonthits remain; only SVG >1 MB isapps/site/public/illustrations/careers/world_map_dots.svg, which is a dense vector with no embedded font payload.Follow-up: extra PNG compression (pngquant pass)
A review pass found the PNGs in this PR still had room to shrink, with no quality loss. Added in commit
86c674e.Improvements
Strategies used
Not changed (intentional)
<img>→<video>rendering).Note (unrelated to assets)
image-transformations-with-bun-on-prisma-computepost links to/blog/create-prisma-deploy-prisma-compute, which has no post yet — it will 404 until that post merges (or the link is removed).Summary by CodeRabbit
Documentation
Chores