fogwind 3 дней назад
Родитель
Сommit
b9ebdcc836
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
   // 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*",
     source: "/checkout/:path*",
     headers: [
     headers: [