http - X-Cache header 说明

标签 http caching http-headers

我正在浏览 firefox 本地缓存文件夹,发现很多包含 X-cache header 的文件。有人可以解释这个 header 的用途吗?

谢谢

最佳答案

CDN (Content Delivery Network) 将 X-cache header 添加到 HTTP 响应。 X-cache:HIT 表示您的请求由 CDN 提供服务,而不是源服务器。 CDN 是一种特殊的网络,旨在缓存内容,以便更快地处理用户请求 + 卸载源服务器。

关于http - X-Cache header 说明,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3027492/

相关文章:

c - 逐行读取套接字但出现内存问题

rest - HTTP 授权和 WWW-Authenticate header

php - 在 PHP 中获取当前的 Content-Type header

c# - 如何在 Web Api 中使用 Api key 使用表单例份验证进行服务身份验证

AngularJS : TypeError: $http(. ..).success 不是 asp.net WebMethod 上的函数

spring - 使用 spring 声明式缓存进行集成测试

asp.net-mvc-3 - 如何关闭整个ASP.NET MVC 3网站的缓存?

internet-explorer - 在 Internet Explorer 中第二次调用后 jQuery ajax 不工作

html - 什么是 "X-Content-Type-Options=nosniff"?

http - 哪些特定用例需要 BOSH over WebSockets 和长轮询?