我在维基百科上读到了Pragma标题,其中说:
"Pragma:no-cache标头字段是用于请求的HTTP/1.0标头.它是浏览器告诉服务器和任何中间缓存它需要新资源的一种手段,而不是服务器告诉浏览器不要缓存资源.一些用户代理确实在响应中注意这个头,但HTTP/1.1 RFC专门警告不要依赖这种行为."
但我还不明白它的作用?是什么之间的差异Cache-Control,其值是头no-cache和Pragma其值也no-cache?
Cache-Control
no-cache
Pragma
protocols http httpresponse request http-headers
http ×1
http-headers ×1
httpresponse ×1
protocols ×1
request ×1