blog icon indicating copy to clipboard operation
blog copied to clipboard

chore: improve image optimization

Open styfle opened this issue 8 months ago • 1 comments
trafficstars

This PR follows some of the patterns outlined in the documentation here:

https://vercel.com/docs/image-optimization/managing-image-optimization-costs

  1. Set minimumCacheTTL to 31 days since these images are not changing frequently
  2. Use static import for local image to automatically get correct cache-control headers
  3. Strict remotePatterns to exclude query strings when we know they're not needed
  4. Set unoptimized: true for animated images since these are not optimized anyway

styfle avatar Mar 13 '25 14:03 styfle

@styfle is attempting to deploy a commit to the Guillermo Rauch Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Mar 13 '25 14:03 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2025 10:02pm

vercel[bot] avatar Aug 02 '25 22:08 vercel[bot]