PolishでAVIFへの自動変換が可能に
原題: Automatic AVIF conversion with Polish
changelog / Media/Realtime / Cloudflare Images / 2026/11/24 09:00 JST
Cloudflareの画像最適化機能「Polish」が、オリジンから配信されるJPEG・PNG画像をAVIFに変換できるようになった。AVIFはWebPよりも小さいファイルサイズになることが多く、商品カタログや写真ギャラリー、ニュースサイトなど画像の多いサイトの転送量削減と表示速度の改善が期待できる。Polishはメタデータの除去や圧縮に加え、JPEG・PNGを効率的な形式へ変換する機能で、CLI・ダッシュボード・REST APIから設定できる。AVIFとWebPは同時に有効化でき、その場合は対応ブラウザに最適な形式が選ばれる。
出典サイトで原文を開く → 出典サイトの説明: Polish can now convert JPEG and PNG origin images to AVIF and serve the smaller format to compatible browsers.
Polish can now create AVIF versions of JPEG and PNG images served from your origin, alongside its existing WebP conversion. AVIF often produces smaller files than WebP, reducing transfer sizes and improving load times for image-heavy sites such as product catalogs, photo galleries, and news publications. Polish automatically optimizes images on your zone that are served from your origin server. It strips metadata, applies compression, and can convert JPEG and PNG files to more efficient image formats. Configure Polish with AVIF through the Cloudflare CLI , dashboard , or REST API : cf zones settings edit polish —zone example.com —body ’{“value”:“lossy”}’ cf zones settings edit avif —zone example.com —body ’{“value”:“on”}’ cf zones settings edit webp —zone example.com —body ’{“value”:“on”}’ AVIF and WebP can be enabled at the same time. When both formats are enabled, Polish selects an output based on browser support, file size, and image quality: The browser must advertise AVIF support in its Accept header. Polish serves AVIF only if the converted image is smaller than the original. If the browser supports both AVIF and WebP, then Polish prefers AVIF. Browsers without AVIF sup
出典: 公式ページ