Authored by yyq

fix cache key

module.exports = [
{
route: /grass\/article\/\d+$/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/article\/\d+\/user/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/article\/share\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/article\/detail\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/\d+\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/mine/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/follow\/\d+\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/fans\/\d+\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/mine\/follow/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/mine\/fans/,
cacheKey: '$url$params$yoho-protocol',
cacheKey: '$url$yoho-protocol',
cacheTime: 900,
cache: true
},
... ...