...
|
...
|
@@ -13,33 +13,54 @@ const cachePage = { |
|
|
'/kids': 30 * SECOND,
|
|
|
'/lifestyle': 30 * SECOND,
|
|
|
|
|
|
// 商品分类
|
|
|
'/cate': 5 * MINUTE,
|
|
|
|
|
|
// 商品详情页
|
|
|
'/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/': 30 * MINUTE,
|
|
|
'/product/\\/show_([\\d]+)/': 30 * MINUTE,
|
|
|
|
|
|
// 逛
|
|
|
'/guang': 1 * MINUTE,
|
|
|
'/guang/info/index': 10 * MINUTE,
|
|
|
'/guang/author/index': 1 * MINUTE,
|
|
|
'/guang/tags/index': 1 * MINUTE,
|
|
|
'/guang/plustar': 1 * MINUTE,
|
|
|
'/guang/plustar/brandinfo': 1 * MINUTE,
|
|
|
|
|
|
|
|
|
// 领券中心
|
|
|
'/activity/coupon/floor': 5 * MINUTE,
|
|
|
|
|
|
// 商品列表
|
|
|
'/product/list/index': 5 * MINUTE,
|
|
|
'/product/index/index': 5 * MINUTE,
|
|
|
'/product/list/index': 1 * MINUTE,
|
|
|
'/product/index/index': 1 * MINUTE,
|
|
|
'/product/index/brand': 1 * MINUTE,
|
|
|
|
|
|
'/product/new': 1 * MINUTE,
|
|
|
|
|
|
// 秒杀列表
|
|
|
'/product/seckill': 30 * SECOND,
|
|
|
|
|
|
// 秒杀详情
|
|
|
'/product/^\\/seckill\\/pro_([\\d]+)_([\\d]+)/': 30 * MINUTE,
|
|
|
'/product/^\/seckill\/show_([\d]+)/': 30 * MINUTE,
|
|
|
|
|
|
// sale
|
|
|
'/product/sale': 5 * MINUTE,
|
|
|
'/product/sale/discount': 5 * MINUTE,
|
|
|
'/product/sale/vip': 5 * MINUTE,
|
|
|
'/product/sale/breakingYards': 5 * MINUTE,
|
|
|
'/product/sale/discount/detail': 5 * MINUTE,
|
|
|
|
|
|
// 奥莱
|
|
|
'/product/outlet': 30 * SECOND,
|
|
|
'/product/outlet/activity': 1 * MINUTE,
|
|
|
|
|
|
|
|
|
'/product/index/brand': 2 * MINUTE
|
|
|
// 品牌一览
|
|
|
'/brands': 5 * MINUTE,
|
|
|
'/brands/search': 1 * MINUTE
|
|
|
|
|
|
};
|
|
|
|
...
|
...
|
|