From: Amir Sarabadani Date: Tue, 11 Jun 2019 11:21:54 +0000 (+0200) Subject: Set cache types to APC/APCu/WinCache in DevelopmentSettings.php X-Git-Tag: 1.34.0-rc.0~1459^2 X-Git-Url: http://git.cyclocoop.org/data/%7BGarradin/WEBSITE%7D?a=commitdiff_plain;h=5a090c29822285782d2027ffb8919a5440fa2f03;p=lhc%2Fweb%2Fwiklou.git Set cache types to APC/APCu/WinCache in DevelopmentSettings.php Bug: T225496 Change-Id: I14dd3fea9795a501e29383a3cae2b3e9a0077e69 --- diff --git a/includes/DevelopmentSettings.php b/includes/DevelopmentSettings.php index 4bf00d0249..882047b49a 100644 --- a/includes/DevelopmentSettings.php +++ b/includes/DevelopmentSettings.php @@ -53,3 +53,9 @@ if ( $logDir ) { $wgDebugLogGroups['error'] = "$logDir/mw-error.log"; } unset( $logDir ); +// Make caching faster +$wgMainCacheType = CACHE_ACCEL; +$wgMessageCacheType = CACHE_ACCEL; +$wgParserCacheType = CACHE_ACCEL; +$wgSessionCacheType = CACHE_ACCEL; +$wgLanguageConverterCacheType = CACHE_ACCEL;