From 35bbceb384a4a9dc31ef7265bdb5bf562fddc794 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Sat, 2 Nov 2013 11:43:47 -0700 Subject: [PATCH] Set max-age to 2419200 (one month) for action=ulslocalization API calls I specified one year as the desirable value on the bug, but one month is probably saner since we're still hammering out the details of how to deliver this data. Bug: 56509 Change-Id: I4e3664f953e25b2c01b9c1f75d3aa27ef7e3af4f --- api/ApiULSLocalization.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ApiULSLocalization.php b/api/ApiULSLocalization.php index 1bf1c8c3..17504acb 100644 --- a/api/ApiULSLocalization.php +++ b/api/ApiULSLocalization.php @@ -25,7 +25,7 @@ class ApiULSLocalization extends ApiBase { public function execute() { $this->getMain()->setCacheMode( 'public' ); - $this->getMain()->setCacheMaxAge( 300 ); + $this->getMain()->setCacheMaxAge( 2419200 ); $params = $this->extractRequestParams(); $language = $params['language'];