Help:Installation/Recommendations

From semantic-mediawiki.org
Jump to: navigation, search
InstallationHelp:Installation/Recommendations

Language

Cache

Use redis as responsive cache layer where available and possible.

// @see RedisBagOStuff for a full explanation of these options.
$wgObjectCaches['REDIS'] = array(
    'class'                => 'RedisBagOStuff',
    'servers'              => array( '127.0.0.1:6379' ),
    // 'connectTimeout'    => 1,
    // 'persistent'        => false,
    // 'password'          => 'secret',
    // 'automaticFailOver' => true,
);
...
$smwgCacheType = 'REDIS';

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

References

  1. ^ mail:tp5075433p5075460