Sib*_*Guy 6 azure azure-storage-blobs
我创建了一个新blob并指定了CacheControl等于max-age=31536000, must-revalidate(我在Azure门户中检查过).现在当我的blob被浏览器加载时,我看到以下内容:
Status Code:304 The condition specified using HTTP conditional header(s) is not met.
Cache-Control:max-age=0
Run Code Online (Sandbox Code Playgroud)
我关心Cache-Control.为什么它不代表我指定的值?我做错了吗?
304 错误意味着“未修改”,这表明 blob 已缓存在客户端!这是预期的行为。
| 归档时间: |
|
| 查看次数: |
220 次 |
| 最近记录: |