Merge branch 'feature/11.11' of http://git.yoho.cn/fe/yohobuywap-node into feature/11.11
Showing
1 changed file
with
24 additions
and
3 deletions
@@ -13,33 +13,54 @@ const cachePage = { | @@ -13,33 +13,54 @@ const cachePage = { | ||
13 | '/kids': 30 * SECOND, | 13 | '/kids': 30 * SECOND, |
14 | '/lifestyle': 30 * SECOND, | 14 | '/lifestyle': 30 * SECOND, |
15 | 15 | ||
16 | + // 商品分类 | ||
17 | + '/cate': 5 * MINUTE, | ||
18 | + | ||
16 | // 商品详情页 | 19 | // 商品详情页 |
17 | '/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/': 30 * MINUTE, | 20 | '/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/': 30 * MINUTE, |
21 | + '/product/\\/show_([\\d]+)/': 30 * MINUTE, | ||
18 | 22 | ||
19 | // 逛 | 23 | // 逛 |
20 | '/guang': 1 * MINUTE, | 24 | '/guang': 1 * MINUTE, |
21 | '/guang/info/index': 10 * MINUTE, | 25 | '/guang/info/index': 10 * MINUTE, |
22 | '/guang/author/index': 1 * MINUTE, | 26 | '/guang/author/index': 1 * MINUTE, |
23 | '/guang/tags/index': 1 * MINUTE, | 27 | '/guang/tags/index': 1 * MINUTE, |
28 | + '/guang/plustar': 1 * MINUTE, | ||
29 | + '/guang/plustar/brandinfo': 1 * MINUTE, | ||
30 | + | ||
24 | 31 | ||
25 | // 领券中心 | 32 | // 领券中心 |
26 | '/activity/coupon/floor': 5 * MINUTE, | 33 | '/activity/coupon/floor': 5 * MINUTE, |
27 | 34 | ||
28 | // 商品列表 | 35 | // 商品列表 |
29 | - '/product/list/index': 5 * MINUTE, | ||
30 | - '/product/index/index': 5 * MINUTE, | 36 | + '/product/list/index': 1 * MINUTE, |
37 | + '/product/index/index': 1 * MINUTE, | ||
38 | + '/product/index/brand': 1 * MINUTE, | ||
39 | + | ||
40 | + '/product/new': 1 * MINUTE, | ||
31 | 41 | ||
32 | // 秒杀列表 | 42 | // 秒杀列表 |
33 | '/product/seckill': 30 * SECOND, | 43 | '/product/seckill': 30 * SECOND, |
34 | 44 | ||
35 | // 秒杀详情 | 45 | // 秒杀详情 |
46 | + '/product/^\\/seckill\\/pro_([\\d]+)_([\\d]+)/': 30 * MINUTE, | ||
47 | + '/product/^\/seckill\/show_([\d]+)/': 30 * MINUTE, | ||
36 | 48 | ||
37 | // sale | 49 | // sale |
38 | '/product/sale': 5 * MINUTE, | 50 | '/product/sale': 5 * MINUTE, |
51 | + '/product/sale/discount': 5 * MINUTE, | ||
52 | + '/product/sale/vip': 5 * MINUTE, | ||
53 | + '/product/sale/breakingYards': 5 * MINUTE, | ||
54 | + '/product/sale/discount/detail': 5 * MINUTE, | ||
39 | 55 | ||
56 | + // 奥莱 | ||
40 | '/product/outlet': 30 * SECOND, | 57 | '/product/outlet': 30 * SECOND, |
58 | + '/product/outlet/activity': 1 * MINUTE, | ||
59 | + | ||
41 | 60 | ||
42 | - '/product/index/brand': 2 * MINUTE | 61 | + // 品牌一览 |
62 | + '/brands': 5 * MINUTE, | ||
63 | + '/brands/search': 1 * MINUTE | ||
43 | 64 | ||
44 | }; | 65 | }; |
45 | 66 |
-
Please register or login to post a comment