Iva*_*pon 9 google-cloud-storage
我尝试为Google Cloud Storage存储桶设置Cache-Control标头.它给了我400: Invalid argument error没有任何解释究竟是什么错误.有任何想法吗?
例:
gsutil setmeta -R -h 'Cache-Control:public, max-age=10000, no-transform' gs://example.com/stylesheets/
Run Code Online (Sandbox Code Playgroud)
设置元数据 gs://example.com/stylesheets/site-77ee6060.css
BadRequestException: 400 Invalid argument
尝试与不同max-age,有或没有no-transform相同的结果.bucket配置为网站.
| 归档时间: |
|
| 查看次数: |
2145 次 |
| 最近记录: |