]> git.ipfire.org Git - thirdparty/squid.git/commit
HTTP/1.1: honour Cache-Control before Pragma:no-cache
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 17 Oct 2012 00:43:57 +0000 (18:43 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 17 Oct 2012 00:43:57 +0000 (18:43 -0600)
commit1546acca4ef69d97e8e1c55fd537afe0be3ac9ac
tree1d1d9751245105b7614ae012c2292df2f31d55b2
parent02105a8a9de680b3d19000c499c37ec352476bb7
HTTP/1.1: honour Cache-Control before Pragma:no-cache

HTTPbis WG clarifications on the interaction between Cache-Control and
Pragma specify that Cache-Control may be explicitly crafted to allow
conditional caching by HTTP/1.1 caches and Pragma:no-cache supplied to
prevent caching by older HTTP/1.0 caches unable to understand the
Cache-Control properly.

Squid does obey Cache-Control. So we can deprecate Pragma to the side
cases when Cache-Control is absent entirely.
src/client_side_request.cc