Is there a way to set the cache-control metadata while putting a file to the Google Cloud Storage using Google Cloud Storage Adapter for Flysystem?
I have all my files in the bucket public, but sometimes I need to update some file, and after that I still see the old file. I see it's possible in general, but I don't see a way to do this by Flysystem, and we use it everywhere.
Flysystem has ability to set adapter config. To set cache control header for GCP buckets, you can use next:
Also, you can setup Cloud Function in the GCP console to set headers when objects saved to the bucket