From e6017e7436dbb2e988d04c67f6beafdc3ea1e884 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 1 Jul 2026 02:24:38 +0200 Subject: [PATCH] perf(images): remove AVIF format to prevent massive CPU spikes and TTFB delays during on-the-fly Next.js image optimization --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 999ead2dc..49cf03f39 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -449,7 +449,7 @@ const nextConfig = { }, images: { qualities: [25, 50, 75, 100], - formats: ['image/avif', 'image/webp'], + formats: ['image/webp'], deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840], remotePatterns: [ {