【发布时间】:2019-11-02 21:20:59
【问题描述】:
我在 Google Cloud Storage 中有一些图像,我想通过标准浏览器缓存进行缓存。所以,我在文件对象元数据字段中写道:
Cache-control : public, max-age=300, no-transform。
但是当我通过生成的 URL 获取图像时,缓存标头会显示:
cache-control: no-cache, no-store, max-age=0, must-revalidate。
为什么会发生,我该如何解决?
【问题讨论】:
标签: google-cloud-platform google-cloud-storage