http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73607
Revision: 73607
Author: kaldari
Date: 2010-09-23 17:12:43 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
lowering cache times slightly for Monday deployment tests
Modified Paths:
--------------
trunk/extensions/CentralNotice/SpecialBannerListLoader.php
trunk/extensions/CentralNotice/SpecialBannerLoader.php
Modified: trunk/extensions/CentralNotice/SpecialBannerListLoader.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialBannerListLoader.php 2010-09-23
16:48:59 UTC (rev 73606)
+++ trunk/extensions/CentralNotice/SpecialBannerListLoader.php 2010-09-23
17:12:43 UTC (rev 73607)
@@ -8,8 +8,8 @@
public $language; // Project language
public $location; // User country
public $centralNoticeDB;
- protected $sharedMaxAge = 900; // Cache for 15 minutes on the server
side
- protected $maxAge = 900; // Cache for 15 minutes on the client side
+ protected $sharedMaxAge = 600; // Cache for 10 minutes on the server
side
+ protected $maxAge = 600; // Cache for 10 minutes on the client side
function __construct() {
// Register special page
Modified: trunk/extensions/CentralNotice/SpecialBannerLoader.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialBannerLoader.php 2010-09-23
16:48:59 UTC (rev 73606)
+++ trunk/extensions/CentralNotice/SpecialBannerLoader.php 2010-09-23
17:12:43 UTC (rev 73607)
@@ -6,7 +6,7 @@
class SpecialBannerLoader extends UnlistedSpecialPage {
public $siteName = 'Wikipedia'; // Site name
public $language = 'en'; // User language
- protected $sharedMaxAge = 900; // Cache for 15 minutes on the server
side
+ protected $sharedMaxAge = 600; // Cache for 10 minutes on the server
side
protected $maxAge = 0; // No client-side banner caching so we get all
impressions
function __construct() {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs