From 2bd2a42dcf4750799bd92fc0652673847496f5e2 Mon Sep 17 00:00:00 2001 From: tuyenio Date: Thu, 25 Jun 2026 09:28:21 +0700 Subject: [PATCH] =?UTF-8?q?perf:=20b=E1=BA=ADt=20t=E1=BB=91i=20=C6=B0u=20?= =?UTF-8?q?=E1=BA=A3nh=20AVIF/WebP=20+=20deviceSizes=20cho=20next/image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index e9ffa30..6b93970 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,11 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + images: { + formats: ["image/avif", "image/webp"], + deviceSizes: [360, 640, 768, 1024, 1280, 1536, 1920], + minimumCacheTTL: 2678400, + }, }; export default nextConfig;