Page MenuHomePhabricator

PHP/5.2.1 servers returning dual max-age headers on action=raw
Closed, InvalidPublic

Description

Author: herd

Description:
Calls to action=raw seems to return dual (different, 31/30 day) max-age headers on 5.2.1 servers pretty consistently:

X-Powered-By: PHP/5.2.1 -- Cache-Control: public, s-maxage=300, max-age=2678400, max-age=2592000

X-Powered-By: PHP/5.2.5 -- Cache-Control: public, s-maxage=300, max-age=2678400

Categorizing as a Wikimedia bug, because it is probably domas's fault!

<brion> note it on bz or sth make sure it's not lost, will poke it later :D


Version: unspecified
Severity: trivial
URL: http://web-sniffer.net/?url=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D-%26action%3Draw%26smaxage%3D0%26gen%3Djs%26useskin%3Dmonobook&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0

Details

Reference
bz14902

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:13 PM
bzimport set Reference to bz14902.

Reassigning to Tim to investigate this; presumably some difference in header output. Check the actual output from MediaWiki and whatever transformations Squid's doing...

We only support PHP >= 5.2.3 on trunk

reopen if this is still an issue