...
|
...
|
@@ -13,13 +13,13 @@ module.exports = [ |
|
|
},
|
|
|
{
|
|
|
route: /grass\/article\/share\/\d+/,
|
|
|
cacheKey: '$url$params',
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
{
|
|
|
route: /grass\/article\/detail\/\d+/,
|
|
|
cacheKey: '$url$params',
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
...
|
...
|
@@ -31,29 +31,32 @@ module.exports = [ |
|
|
},
|
|
|
{
|
|
|
route: /grass\/author\/mine/,
|
|
|
cacheKey: '$url$params',
|
|
|
cache: false
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
{
|
|
|
route: /grass\/author\/follow\/\d+\/\d+/,
|
|
|
cacheKey: '$url$params',
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
{
|
|
|
route: /grass\/author\/fans\/\d+\/\d+/,
|
|
|
cacheKey: '$url$params',
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
{
|
|
|
route: /grass\/mine\/follow/,
|
|
|
cacheKey: '$url$params',
|
|
|
cache: false
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
{
|
|
|
route: /grass\/mine\/fans/,
|
|
|
cacheKey: '$url$params',
|
|
|
cache: false
|
|
|
cacheKey: '$url$params$yoho-protocol',
|
|
|
cacheTime: 900,
|
|
|
cache: true
|
|
|
},
|
|
|
]; |
...
|
...
|
|