Page MenuHomePhabricator

Allow OutputPage to set maxage
Closed, DeclinedPublic


To allow OutputPage to be used for the API in T233597 and for RawAction in T235050, OutputPage should be updated to support setting the maxage property and setting the other Cache-Control headers appropriately.

Event Timeline

Restricted Application added a subscriber: MGChecker. · View Herald Transcript

Change 546980 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/core@master] Allow OutputPage to set maxage

Krinkle added a subscriber: Krinkle.

Conceptually a maxage would be trivial to implement as demonstrated, if there's a clear need to build maintain and support that, which there isn't currently per the parent task.

Change 546980 abandoned by Krinkle:
[mediawiki/core@master] Allow OutputPage to set maxage

Per task