Skip to content

Commit 5dca961

Browse files
authored
ci(workflows): reduce cache TTL from 1 day to 1 hour (#248)
1 parent a045a81 commit 5dca961

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-prod-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
destination: bcd-prod-mdn/bcd/api/v0/current
6969
resumable: false
7070
headers: |-
71-
cache-control: public, max-age=86400
71+
cache-control: public, max-age=3600
7272
parent: false
7373
concurrency: 500
7474
process_gcloudignore: false

.github/workflows/deploy-prod-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Sync Rumba update
6262
run: |-
63-
gsutil -m -h "Cache-Control:public, max-age=86400" rsync -d -r rumba-updates/ gs://updates-prod-mdn/rumba-bcd-updates
63+
gsutil -m -h "Cache-Control:public, max-age=3600" rsync -d -r rumba-updates/ gs://updates-prod-mdn/rumba-bcd-updates
6464
6565
trigger-prod-rumba-update-if-new:
6666
name: Trigger rumba updates if new release.

.github/workflows/deploy-stage-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
destination: bcd-stage-mdn/bcd/api/v0/current
7272
resumable: false
7373
headers: |-
74-
cache-control: public, max-age=86400
74+
cache-control: public, max-age=3600
7575
parent: false
7676
concurrency: 500
7777
process_gcloudignore: false

.github/workflows/deploy-stage-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Sync Rumba update
6565
run: |-
66-
gsutil -m -h "Cache-Control:public, max-age=86400" rsync -d -r rumba-updates/ gs://updates-stage-mdn/rumba-bcd-updates
66+
gsutil -m -h "Cache-Control:public, max-age=3600" rsync -d -r rumba-updates/ gs://updates-stage-mdn/rumba-bcd-updates
6767
6868
trigger-stage-rumba-update-if-new:
6969
name: Trigger rumba updates if new release.

0 commit comments

Comments
 (0)