|
@@ -55,11 +55,14 @@ export function getPageCacheConfig(
|
|
|
/**
|
|
/**
|
|
|
* Helper to create dynamic product cache config with specific product identifier
|
|
* Helper to create dynamic product cache config with specific product identifier
|
|
|
*/
|
|
*/
|
|
|
-export function getProductCacheConfig(productId: string): PageCacheConfig {
|
|
|
|
|
- return {
|
|
|
|
|
- tags: ["products", `product-${productId}`],
|
|
|
|
|
- life: "hours",
|
|
|
|
|
- };
|
|
|
|
|
|
|
+// export function getProductCacheConfig(productId: string): PageCacheConfig {
|
|
|
|
|
+// return {
|
|
|
|
|
+// tags: ["products", `product-${productId}`],
|
|
|
|
|
+// life: "hours",
|
|
|
|
|
+// };
|
|
|
|
|
+// }
|
|
|
|
|
+export function getProductCacheConfig(productId: string): {noCache: boolean} {
|
|
|
|
|
+ return {noCache: true};
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|