16 Октябрь 2012 г. 11:08:52 пользователь Nathan Larson
([email protected]) написал:
>
> I doubt WMF uses wgCacheDirectory at all. It's default is false and WMF
> has Memcached. It doesn't even affect WikiFarms since it's not set by
> default. You have to explicitly set it yourself.
>
It's absent from InitialiseSettings.php but in CommonSettings.php it's set
as $wgCacheDirectory = '/tmp/mw-cache-' . $wmfVersionNumber;
* http://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php
Is that correct? I set separate dir for each host:
foreach ( $wgConf->suffixes as $suffix ) {
...
$wgConf->settings['wgCacheDirectory'][$suffix] = "{$IP}/{$suffix}/cache";
$wgConf->settings['wgUploadPath'][$suffix] = $wgConf->get( 'wgScriptPath', $suffix ) .
"/{$suffix}/images";
...
}
Dmitriy
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l