Last modified: 2014-10-06 09:56:11 UTC
The last modified timestamp is available and already being included: header( 'Cache-Control: s-maxage=3600, must-revalidate, max-age=0' ); header( "Last-modified: $lastmod" ); We could extend this further and make it respond with "304 Not Modified" (without body content) for requests that have the same version cached. Should save a fair amount of bandwidth. https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=extract2.php;hb=HEAD
Ping cf. hackathon in Amsterdam last week.
(In reply to comment #1) > Ping cf. hackathon in Amsterdam last week. Should it be added to the new hackathon's topics? :)
Seems http://www.wikipedia.org and similar hits are now actually yielding 304 Not Modified client-side. I suspect maybe the switch to Varnish made this happen at the abstraction layer there.