ssr-routes.js 967 Bytes
module.exports = [
  {
    route: /grass\/article\/\d+$/,
    query: {
      columnType: Number
    },
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/article\/\d+\/user/,
    cache: false
  },
  {
    route: /grass\/article\/share\/\d+/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/article\/detail\/\d+/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/topic\/\d+\/(.*)/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/author\/\d+\/\d+/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/author\/mine/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/author\/follow\/\d+\/\d+/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/author\/fans\/\d+\/\d+/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/mine\/follow/,
    cacheTime: 900,
    cache: true
  },
  {
    route: /grass\/mine\/fans/,
    cacheTime: 900,
    cache: true
  },
];