如何使用 Paperclip / fog 为托管在 Google 存储上的文件设置缓存控制 header?

How to set the Cache Control header with Paperclip / fog for a file hosted on Google storage?

我可以使用 Paperclip 和 fog-google.

将文件上传到我的 google 存储桶

如何设置文件 headers?我正在 fog-aws.

中搜索等效于 s3_headers 的选项

我尝试了 google_headers 和 fog_headers 选项但没有成功。

开始吧:

fog_file: {
   cache_control: 'max-age=86400'
}