http - HTTP header Pragma : Public mean? 是什么意思

标签 http pragma

HTTP header Pragma: Public 是什么意思?

最佳答案

根据standard , Pragma 依赖于实现(第 14.32 节),除了 no-cache 因为它的广泛使用。 Cache-Control(第 14.9 节)是控制缓存的正确方法。这是标准对 Cache-Control: public 的描述:

Indicates that the response MAY be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache.

关于http - HTTP header Pragma : Public mean? 是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1920781/

相关文章:

node.js - 使用 Node.js 扩展现有的 RESTful API

Flutter Web Http 错误 : Uncaught (in promise) Error: XMLHttpRequest error

sqlite - 关于 SQLite 中的journal_size_limit 的澄清

matlab - %#mex 杂注有什么作用?

php - 将此 .php 转换为 ObjC 可运行的 NSURLSession POST 请求?

Inno Setup 脚本中的 HTTP POST 请求

c++ - 跨平台代码标签宏?

c++ - 在 GCC 中,如何使 '-fpermissive' 警告静音?

javascript - 由于请求的资源上不存在 'Access-Control-Allow-Origin' header ,无法获取与 Axios 的链接请求

c - Pragma 及其在我的代码中的合适用途?