Do not cache auto-index pages

This commit is contained in:
Michael Jackson 2019-01-14 20:33:33 -08:00
parent 328fda2d16
commit faa1eeae8f
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=14400', // 4 hours
'Cache-Control': 'no-cache, no-store, must-revalidate', // do not cache
'Cache-Tag': 'auto-index'
})
.send(html);