Message Cache: $wgLocalisationCacheConf | |
---|---|
Localisation cache configuration. | |
Introduced in version: | 1.16.0 (r52503) |
Removed in version: | Still in use |
Allowed values: | (array) |
Default value: | see below |
Other settings:Alphabetical |By function |
Localisation cache configuration.Associative array with keys:
$wgCacheDirectory
. This is significantly faster than storing data into the database(see discussion)$wgCacheDirectory
. This is an experimental option.opcache.file_cache_only
), because OPcache will store these arrays. In other configurations (HHVM or opcache.file_cache_only) this mode has no benefit over "files".$wgCacheDirectory
is set, otherwise the database will be used.store
setting above. Built-in options:LCStore interface$wgCacheDirectory
will be used.MediaWiki version: | ≥ 1.34 |
$wgLocalisationCacheConf=['class'=>LocalisationCache::class,'store'=>'detect','storeClass'=>false,'storeDirectory'=>false,'storeServer'=>[],'forceRecache'=>false,'manualRecache'=>false,];
MediaWiki versions: | 1.31 – 1.33 |
$wgLocalisationCacheConf=['class'=>LocalisationCache::class,'store'=>'detect','storeClass'=>false,'storeDirectory'=>false,'manualRecache'=>false,];
MediaWiki versions: | 1.16 – 1.30 |
$wgLocalisationCacheConf=['class'=>'LocalisationCache','store'=>'detect','storeClass'=>false,'storeDirectory'=>false,'manualRecache'=>false,];