ssr-routes.js
398 Bytes
module.exports = [
{
route: /grass\/article\/\d+$/,
cacheKey: '$url$params$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/article\/\d+\/user/,
cacheKey: '$url$params$yoho-protocol',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/\d+\/\d+/,
cacheKey: '$url$params$yoho-protocol',
cacheTime: 900,
cache: true
}
];