I read about Pragma header on Wikipedia which says:
“The Pragma: no-cache header field is an HTTP/1.0 header intended for
use in requests. It is a means for the browser to tell the server and
any intermediate caches that it wants a fresh version of the resource,
not for the server to tell the browser not to cache the resource. Some
user agents do pay attention to this header in responses, but the
HTTP/1.1 RFC specifically warns against relying on this behavior.”
But I haven’t understood what it does? What is the difference between the Cache-Control
header whose value is no-cache
and Pragma
whose value is also no-cache
?