Stronger cache invalidation
This commit is contained in:
parent
f01d23da1d
commit
2e81715024
|
@ -19,7 +19,7 @@ export default function serveMainPage(req, res) {
|
||||||
|
|
||||||
res
|
res
|
||||||
.set({
|
.set({
|
||||||
'Cache-Control': 'public, max-age=0, must-revalidate', // do not cache
|
'Cache-Control': 'no-cache, no-store, must-revalidate', // do not cache
|
||||||
'Cache-Tag': 'main'
|
'Cache-Tag': 'main'
|
||||||
})
|
})
|
||||||
.send(html);
|
.send(html);
|
||||||
|
|
Loading…
Reference in New Issue