Browse Source

合并master

fogwind 3 days ago
parent
commit
b9ebdcc836
1 changed files with 0 additions and 22 deletions
  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: [