1
0

2 Коммиты 945bd5055e ... b9ebdcc836

Автор SHA1 Сообщение Дата
  fogwind b9ebdcc836 合并master 2 дней назад
  fogwind db6ff1d688 删除next.config.ts header配置中关于category和product页面的缓存配置 2 дней назад
1 измененных файлов с 0 добавлено и 22 удалено
  1. 0 22
      src/utils/constants/server.ts

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

@@ -29,28 +29,6 @@ export const configHeader = [
     ],
   },
   // Cache dynamic pages - shorter cache for frequently updated content
-  {
-    source: "/category/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, s-maxage=3600, stale-while-revalidate=86400",
-      },
-    ],
-  },
-  {
-    source: "/product/:path*",
-    headers: [
-      {
-        key: "Cache-Control",
-        value: "public, s-maxage=3600, stale-while-revalidate=86400",
-      },
-      {
-        key: "Vary",
-        value: "Accept-Encoding",
-      },
-    ],
-  },
   {
     source: "/checkout/:path*",
     headers: [