Do not cache the home page
This commit is contained in:
parent
3fd2a6cd66
commit
86861f47e4
|
@ -19,7 +19,7 @@ export default function serveMainPage(req, res) {
|
||||||
|
|
||||||
res
|
res
|
||||||
.set({
|
.set({
|
||||||
'Cache-Control': 'public, max-age=14400', // 4 hours
|
'Cache-Control': 'public, max-age=0, must-revalidate', // do not cache
|
||||||
'Cache-Tag': 'main'
|
'Cache-Tag': 'main'
|
||||||
})
|
})
|
||||||
.send(html);
|
.send(html);
|
||||||
|
|
Loading…
Reference in New Issue