Do not cache the home page

This commit is contained in:
Michael Jackson 2019-01-14 18:41:42 -08:00
parent 3fd2a6cd66
commit 86861f47e4
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default function serveMainPage(req, res) {
res
.set({
'Cache-Control': 'public, max-age=14400', // 4 hours
'Cache-Control': 'public, max-age=0, must-revalidate', // do not cache
'Cache-Tag': 'main'
})
.send(html);