Difference between Pragma and Cache-control headers?

Pragma is the HTTP/1.0 implementation and cache-control is the HTTP/1.1 implementation of the same concept. They both are meant to prevent the client from caching the response. Older clients may not support HTTP/1.1 which is why that header is still in use.

转载于:https://www.cnblogs.com/limei/p/3382407.html

你可能感兴趣的:(Difference between Pragma and Cache-control headers?)