Help:$smwgMainCacheType

is a configuration parameter that sets the object cache Semantic MediaWiki should use to track temporary changes. The configuration parameter was introduced in .CiteRef::gh:smw:1035

Default setting
This means that by default it uses the cache defined by for object caching.

Available cache providers
All predefined cache types as provided by or a custom cache type as set with, e.g. Redis which is the recommended cache providerCiteRef::infoworld.com:3063161 to account for an optimal response time, storage capacity, and independence from the DB master.


 * : Does not caching (predefined)
 * : Allows to use whatever cache provider is available (predefined)
 * : Allows to use "APC" as cache provider (predefined)
 * : Allows to use "memcached" as cache provider (predefined, requires additional setup on the server)
 * : Allows to use the relational database backend as cache provider (predefined)
 * : Allows to use "Redis" as cache provider (custom, requires additional setup on the server)

Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the  call:

This means that Semantic MediaWiki itself will not use any caching mechanism.
 * Disable cache usage for Semantic MediaWiki


 * Use "memcached" as cache provider


 * Use "redis" as cache provider