Use consistent Cache-Tag format

This commit is contained in:
Michael Jackson
2019-01-01 18:03:54 -08:00
parent 25d86e9c95
commit 99312c75b0
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ function serveJavaScriptModule(req, res) {
'Content-Type': getContentTypeHeader(req.entry.contentType),
'Cache-Control': 'public, max-age=31536000, immutable', // 1 year
ETag: etag(code),
'Cache-Tag': 'file,js-file,js-module'
'Cache-Tag': 'file, js-file, js-module'
})
.send(code);
} catch (error) {