Increase cache max-age for auto-index pages
This commit is contained in:
@ -41,7 +41,7 @@ export default function serveAutoIndexPage(req, res) {
|
|||||||
|
|
||||||
res
|
res
|
||||||
.set({
|
.set({
|
||||||
'Cache-Control': 'public, max-age=600', // 10 minutes
|
'Cache-Control': 'public, max-age=14400', // 4 hours
|
||||||
'Cache-Tag': 'auto-index'
|
'Cache-Tag': 'auto-index'
|
||||||
})
|
})
|
||||||
.send(html);
|
.send(html);
|
||||||
|
Reference in New Issue
Block a user