Skip to content

Commit 068352a

Browse files
authored
feat: Increase cache timeout for the new CDN (#1435)
1 parent cd8e663 commit 068352a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/browser-upload-cdn.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ async function uploadFiles() {
6969
});
7070

7171
const bucket = storage.bucket(bucketName);
72-
// TODO increase after some testing is done
73-
const cacheAge = 300;
72+
const cacheAge = 31536000; // 1 year
7473

7574
await Promise.all(
7675
bundleFiles.map(async filepath => {

0 commit comments

Comments
 (0)