Skip to content

Commit 6caa39b

Browse files
set max age for latest manifest (#603)
1 parent c29de1e commit 6caa39b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/upload-assets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ async function uploadAssets() {
138138
Key: key('/manifest-latest.json'),
139139
Body: zlib.gzipSync(JSON.stringify(manifest)),
140140
ContentEncoding: process.env.CONTENT_ENCODING,
141+
CacheControl: 'public, max-age=120',
141142
GrantRead: cfCanonicalUserIdsParsed,
142143
GrantFullControl: `id=${platformCanonicalUserId}`,
143144
ContentType: 'application/json'

0 commit comments

Comments
 (0)