r73607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73606‎ | r73607 | r73608 >
Date:17:12, 23 September 2010
Author:kaldari
Status:ok
Tags:
Comment:
lowering cache times slightly for Monday deployment tests
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialBannerListLoader.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialBannerLoader.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialBannerListLoader.php
@@ -8,8 +8,8 @@
99 public $language; // Project language
1010 public $location; // User country
1111 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
1414
1515 function __construct() {
1616 // Register special page
Index: trunk/extensions/CentralNotice/SpecialBannerLoader.php
@@ -6,7 +6,7 @@
77 class SpecialBannerLoader extends UnlistedSpecialPage {
88 public $siteName = 'Wikipedia'; // Site name
99 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
1111 protected $maxAge = 0; // No client-side banner caching so we get all impressions
1212
1313 function __construct() {

Status & tagging log