RawAction: Clean up max-age/s-maxage computation
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 3 Jul 2015 01:27:05 +0000 (02:27 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 3 Jul 2015 01:27:05 +0000 (02:27 +0100)
commit2b2ce752d98f58e76c48e9f9a30a3efcabbf491b
treefa1006b2d7fbe8f520cb5dd7e4ad125acb63dc25
parent4dece4834a7bcc3785ece8ebe93524b9dda3cf53
RawAction: Clean up max-age/s-maxage computation

No behavioural change, but makes the code easier to understand.
It was somewhat all scattered.

* Remove outdated comment about 24 hours.
  - ForcedRawSMaxage defaults to 5 minutes.
  - SquidMaxage defaults to 5 hours (wmf-config: 31 days).

Change-Id: I7f3b67780ba9e8c024dcbd68772495b91abb2d01
includes/DefaultSettings.php
includes/actions/RawAction.php