Cache must not return a cached resource with "no-cache" directive
authorSergio Villar Senin <svillar@igalia.com>
Thu, 9 Dec 2010 12:32:41 +0000 (13:32 +0100)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 9 Dec 2010 16:26:09 +0000 (17:26 +0100)
commit22b8c97f41c9741fc2e97540fbbf87c1d798ca33
treed39bd7b81a69059881ecc120220099d03a19038c
parentd2068e5f88de918c0e2b6122408c0e67fb280476
Cache must not return a cached resource with "no-cache" directive

If "Pragma: no-cache" or "Cache-Control: no-cache" do exist in a request then
the cache must not return a cached resource but reload the resource from the
original server.

A "Cache-Control: max-age=0" should also force the cache to revalidate its
entries against the original server.
libsoup/soup-cache.c