Merge branch 'master' into firebase-hosting
This commit is contained in:
@ -14,7 +14,7 @@ export default function serveJavaScriptModule(req, res) {
|
||||
.set({
|
||||
'Content-Length': Buffer.byteLength(code),
|
||||
'Content-Type': getContentTypeHeader(req.entry.contentType),
|
||||
'Cache-Control': 'public, max-age=31536000, immutable', // 1 year
|
||||
'Cache-Control': 'public, max-age=31536000', // 1 year
|
||||
ETag: etag(code),
|
||||
'Cache-Tag': 'file, js-file, js-module'
|
||||
})
|
||||
|
Reference in New Issue
Block a user