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.

posted on 2013-10-22 14:48  -Anny-  阅读(122)  评论(0编辑  收藏  举报