{"size": 144, "ext": "js", "max_stars_repo_path": "src/common/middleware/cache-control.js", "max_stars_repo_name": "bbc/matterhorn", "max_stars_repo_stars_event_min_datetime": "2017-04-06T08:11:44.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-13T00:24:11.000Z", "max_issues_repo_path": "src/common/middleware/cache-control.js", "max_issues_repo_name": "bbc/matterhorn", "max_issues_repo_issues_event_min_datetime": "2017-02-10T08:51:52.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-21T09:05:18.000Z", "max_forks_repo_path": "src/common/middleware/cache-control.js", "max_forks_repo_name": "bbc/matterhorn", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 6, "max_issues_count": 19, "max_forks_count": null, "avg_line_length": 20.5714285714, "max_line_length": 64, "alphanum_fraction": 0.6597222222}
const maxAgeInSeconds = 900

module.exports = (req, res, next) => {
  res.set('Cache-Control', `public, max-age=${maxAgeInSeconds}`)
  next()
}
