2 Revize b9ebdcc836 ... 7ddab2cf95

Autor SHA1 Zpráva Datum
  fogwind 7ddab2cf95 合并master před 23 hodinami
  fogwind 4a41ca3846 删除next.config.ts header配置中关于Cache-Control的缓存配置 před 1 dnem
1 změnil soubory, kde provedl 0 přidání a 54 odebrání
  1. 0 54
      src/utils/constants/server.ts

+ 0 - 54
src/utils/constants/server.ts

@@ -29,60 +29,6 @@ export const configHeader = [
     ],
   },
   // Cache dynamic pages - shorter cache for frequently updated content
-  {
-    source: "/checkout/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "private, no-cache, no-store, must-revalidate",
-      },
-    ],
-  },
-  {
-    source: "/customer/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "private, no-cache, no-store, must-revalidate",
-      },
-    ],
-  },
   // Next.js static assets - long cache with immutable
-  {
-    source: "/_next/static/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, max-age=31536000, immutable",
-      },
-    ],
-  },
-  {
-    source: "/_next/image/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, max-age=31536000, immutable",
-      },
-    ],
-  },
   // Public folder assets - long cache
-  {
-    source: "/image/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, max-age=31536000, immutable",
-      },
-    ],
-  },
-  {
-    source: "/fonts/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, max-age=31536000, immutable",
-      },
-    ],
-  },
 ];