Index: trunk/extensions/CentralNotice/SpecialBannerListLoader.php |
— | — | @@ -8,8 +8,8 @@ |
9 | 9 | public $language; // Project language |
10 | 10 | public $location; // User country |
11 | 11 | public $centralNoticeDB; |
12 | | - protected $sharedMaxAge = 900; // Cache for 15 minutes on the server side |
13 | | - protected $maxAge = 900; // Cache for 15 minutes on the client side |
| 12 | + protected $sharedMaxAge = 600; // Cache for 10 minutes on the server side |
| 13 | + protected $maxAge = 600; // Cache for 10 minutes on the client side |
14 | 14 | |
15 | 15 | function __construct() { |
16 | 16 | // Register special page |
Index: trunk/extensions/CentralNotice/SpecialBannerLoader.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | class SpecialBannerLoader extends UnlistedSpecialPage { |
8 | 8 | public $siteName = 'Wikipedia'; // Site name |
9 | 9 | public $language = 'en'; // User language |
10 | | - protected $sharedMaxAge = 900; // Cache for 15 minutes on the server side |
| 10 | + protected $sharedMaxAge = 600; // Cache for 10 minutes on the server side |
11 | 11 | protected $maxAge = 0; // No client-side banner caching so we get all impressions |
12 | 12 | |
13 | 13 | function __construct() { |