如果该特定文件的响应标头具有cache-control:private'?

发布于 2025-02-13 11:56:34 字数 277 浏览 0 评论 0原文

由于我无法访问IIS,因此想检查以下点:
如果该特定文件的响应标头具有“ cache-control:private'? (在代码级别设置)

缓存控制:私人指出,没有代理服务器(或共享缓存点)不得缓存响应。但是需要知道主服务器是否缓存响应(但这是共享的高速缓存吧?)

因此,总结
如果在IIS上启用了输出缓存,并且如果我们在代码级别设置'cache-control:private'(对于特定响应),该文件是否会为在IIS中缓存?

Since I'm unable to access the IIS, wanted to check the below point:
Will IIS cache the file, if the response header of that particular file has 'cache-control: private' ? (set at the code level)

cache-control: private indicates, that no proxy server (or shared cache points) shall cache the response. But need to know if main server caches the response (but it is a shared cache right ?)

So, to summarize
If output cache is enabled on IIS (or not) and if we are setting 'cache-control: private' on code level (for that particular response), would that file be cached in IIS ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文