-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:providersgood first issuekind:featureFeature RequestsFeature Requestsprovider:googleGoogle (including GCP) related issuesGoogle (including GCP) related issues
Description
Description
When a file is uploaded to GCS, by default, public files will get Cache-Control: public, max-age=3600.
I've tried setting cors for the whole bucket (didn't work) and setting Cache-Control on individual file (disappears on file re-upload from airflow)
Setting metadata for GCSHook is for different field (can't be used to set cache-control)
Use case/motivation
Allow GCSHook to set cache control rather than overriding the upload function
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:providersgood first issuekind:featureFeature RequestsFeature Requestsprovider:googleGoogle (including GCP) related issuesGoogle (including GCP) related issues