Azure blob CacheControl未应用

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.为什么它不代表我指定的值?我做错了吗?

And*_*oll 0

304 错误意味着“未修改”,这表明 blob 已缓存在客户端!这是预期的行为。

http://social.technet.microsoft.com/wiki/contents/articles/25528.azure-blob-storage-and- effective-use-of-cache-control-property.aspx


归档时间:

查看次数:

220 次

最近记录:

10 年,3 月 前