|
|
@@ -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: [
|