惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
小众软件
小众软件
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
量子位
博客园_首页
T
Tailwind CSS Blog
The Cloudflare Blog
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
P
Proofpoint News Feed
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
T
The Blog of Author Tim Ferriss
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Introducing: Sanity Agent Skills | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity
AVIF Arrives, Sanity’s Promise Fulfilled | Sanity
Knut Melvær · 2024-11-14 · via Sanity.io

This poetic plea posted on GitHub was the final push we needed to prioritize and deliver AVIF support for image transforms:

Four years and more, a promise once was made,
To bring forth AVIF in all its grace,
Yet still we wait, in hope’s long shadow laid,
With eager hearts and tear-streaked, weary face.

So it’s with elation and great joy we can declare the following verse from the rooftop of the Sanity head quarter:

Oh joyous day, the wait is finally done,
AVIF arrives, a new age has begun.
No more the tears, the longing or the pain,
As Sanity's embrace doth AVIF gain.

Taking off the AI-powered tudorian bonnet to get down to the facts.

AVIF offers superior compression compared to formats like JPEG and WebP, resulting in smaller file sizes without compromising visual quality. This translates to faster load times and improved performance, especially on mobile devices and slower networks.

Sanity projects that use ?auto=format or .auto('format') will now deliver AVIF for supported browsers. You learn more in the documentation, and we recommend looking into the image URL helper library when you integrate images from Sanity in your applications.

How the AVIF pipeline works

Generating AVIF images, especially with many variations and transformations, can be computationally intensive if done on-demand. To ensure a speedy experience, we've implemented an optimized system.

When an image is requested with the auto=format parameter, Sanity checks if the browser supports AVIF. If so, we aim to return an AVIF image. However, to avoid blocking the initial request, we will quickly deliver the next best format like WebP or JPEG if an AVIF version is not yet available.

In the background, we queue the image for AVIF conversion. This happens asynchronously, so subsequent requests can be served the optimized AVIF version straight from cache. The result is fast initial load times plus the benefits of AVIF for future visitors.

Sometimes it takes us time, but we’ll get there

We know that delivering on our promises is important. Even if it sometimes takes longer than we'd like, we remain committed to bringing the features that matter most to our users. With AVIF support for image transformations, we're excited to provide an even better experience for delivering performant images.

So let us cheer, developers all around,
For Sanity's pledge was true, and now is found.
The future bright, with images so clear,
AVIF and Sanity, a perfect pair.