Last modified: 2011-08-09 16:55:13 UTC
For example when i use curl -I on http://en.wikipedia.org/wiki/Asteroids_(video_game) or on http://en.wikipedia.org/wiki/Asteroids_%28video_game%29 i get two different versions (> 1 week difference). Notice that the page wasn't actually modified since July 27th though: curl -I 'http://en.wikipedia.org/wiki/Asteroids_(video_game)' HTTP/1.0 200 OK Date: Fri, 05 Aug 2011 23:39:12 GMT Server: Apache Cache-Control: private, s-maxage=0, max-age=0, must-revalidate Content-Language: en Vary: Accept-Encoding,Cookie Last-Modified: Thu, 28 Jul 2011 14:56:34 GMT Content-Length: 66064 Content-Type: text/html; charset=UTF-8 X-Cache: HIT from sq74.wikimedia.org X-Cache-Lookup: HIT from sq74.wikimedia.org:3128 Age: 287696 X-Cache: HIT from knsq28.knams.wikimedia.org X-Cache-Lookup: HIT from knsq28.knams.wikimedia.org:3128 X-Cache: MISS from amssq45.esams.wikimedia.org X-Cache-Lookup: MISS from amssq45.esams.wikimedia.org:80 Connection: close curl -I 'http://en.wikipedia.org/wiki/Asteroids_%28video_game%29' HTTP/1.0 200 OK Date: Wed, 27 Jul 2011 00:30:54 GMT Server: Apache Cache-Control: private, s-maxage=0, max-age=0, must-revalidate Content-Language: en Vary: Accept-Encoding,Cookie Last-Modified: Tue, 26 Jul 2011 02:04:23 GMT Content-Length: 65927 Content-Type: text/html; charset=UTF-8 X-Cache: HIT from sq64.wikimedia.org X-Cache-Lookup: HIT from sq64.wikimedia.org:3128 Age: 1150535 X-Cache: HIT from amssq40.esams.wikimedia.org X-Cache-Lookup: HIT from amssq40.esams.wikimedia.org:3128 X-Cache: MISS from amssq46.esams.wikimedia.org X-Cache-Lookup: MISS from amssq46.esams.wikimedia.org:80 Connection: close
See also: bug 21027 The cause is that Squid caches based on request, not on result.