Skip to content

Commit

Permalink
chore(ci): set a shorter cache on manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
binoy14 committed May 15, 2024
1 parent dded33f commit 77f6990
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/uploadBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ async function updateManifest(newVersions: Map<string, string>) {
const options = {
destination: 'modules/v1/manifest-v1.json',
contentType: 'application/json',
metadata: {
// 10 mins cache
cacheControl: 'public, max-age=600',
},
}

await bucket.upload('manifest-v1.json', options)
Expand Down

0 comments on commit 77f6990

Please sign in to comment.