Increase cache max-age for auto-index pages

This commit is contained in:
Michael Jackson 2019-01-12 20:53:25 -08:00
parent 8b65834320
commit 66b607843a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export default function serveAutoIndexPage(req, res) {
res
.set({
'Cache-Control': 'public, max-age=600', // 10 minutes
'Cache-Control': 'public, max-age=14400', // 4 hours
'Cache-Tag': 'auto-index'
})
.send(html);