Help:Installation/Recommendations

From semantic-mediawiki.org
< Installation
Administrator manualInstallationHelp:Installation/Recommendations

Language[edit]

Cache[edit]

Use Help:Caching as responsive cache layer where available and possible.

// @see https://www.mediawiki.org/wiki/Redis for a full explanation of these options.
$wgObjectCaches['redis'] = [
    'class'                => 'RedisBagOStuff',
    'servers'              => [
        '127.0.0.1:6379'
    ],
    // 'connectTimeout'    => 1,
    // 'persistent'        => false,
    'password'             => 'MySecretPassword',
    // 'automaticFailOver' => true,
];
It is strongly advised to use Redis only in a password protected mode!
...
$smwgCacheType = 'redis';

// In case the query cache is to be enabled
$smwgQueryResultCacheType = 'redis';
...

See also[edit]

  • Help page on Redis (media-wiki.org)