Help:$smwgQueryResultCacheType

is a configuration parameter that sets whether the query result cache feature may be used. It was introduced in .CiteRef::gh:smw:1251

Default setting
This means that by default the query result cache feature is disabled.

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
This feature can be enabled by adding a cache type as the setting to this configuration parameter, either a predefined cache type or a custom cache type. The wiki will then try to minimize the computational effort for queries that share the same query signature.

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


 * Use whatever cache provider is available


 * Use "memcached" as cache provider


 * Use "redis" as cache provider