【问题标题】:Azure CDN Not Caching ImagesAzure CDN 不缓存图像
【发布时间】:2016-08-20 09:24:07
【问题描述】:

我正在使用 Azure CDN 上传 Azure Blob 图像,但它似乎没有正确缓存我网站上的图像。

我设置了 Blob Cache-Control: max-age=4233600,当我直接从 Blob URL 调用时,它似乎可以工作。但是,从 CDN URL 调用显示 max-age=0。我不确定我是否遗漏了什么,但我看不到任何方法来编辑 CDN 的 Cache-Control。我哪里错了?

【问题讨论】:

    标签: azure azure-cdn


    【解决方案1】:

    您是否将缓存设置为“公共”?这允许所有下游服务器缓存响应

    【讨论】:

    • 我将 Cloudberry Explorer 用于 Azure Blob 存储,我尝试设置“Cache-Control: public, max-age:4233600”但它仍然没有工作
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-12-03
    • 2022-08-19
    • 1970-01-01
    • 1970-01-01
    • 2018-12-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多