Help:$smwgCacheUsage

is a configuration parameter that is used to control the caching behaviour of special pages displaying statistical information about the the property usage count on the respective special pages:, , , and. Moreover this setting also controls the feature providing search suggestions with autocompletion to improve the selection of properties on special pages that have input fields namely, and. Thus the setting helps increasing the overall performance of the wiki by avoiding to access the individual tables holding the property information and count the respective rows on each access. It was introduced in. With it was extended by the option to control the caching for .CiteRef::gh:smw:2699

Default setting
The default means that all statistical information on the special pages mentioned as well as for the API module mentioned above are being cached for one hour.

Available options

 * Option related to
 * – Sets whether to serve statistical data for wanted properties from cache and the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.


 * Option related to
 * – Sets whether to serve statistical data for unused properties from cache and the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.


 * Option related to
 * – Sets whether to serve statistical data for properties from cache and the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.


 * Option related to
 * – Sets whether to serve statistical data for properties from cache and the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.


 * Options related to
 * – Sets whether to serve statistical data from cache for objects, i.e. properties, categories and concepts, to be searched via the the "browse" module. It also sets the number of seconds before the cache expires. Serves as general cache. Default is " " (one hour). Set to " " to disable caching.
 * – Sets whether to serve statistical data from cache for property values to be searched via the "pvalue" module. It also sets the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.


 * Options related to
 * – Sets whether to serve statistical data from cache for the "task" module. It also sets the number of seconds before the cache expires. Default is " " (one hour). Set to " " to disable caching.

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

To disable the caching for e.g. :
 * Disabling the caching for a specific special page

To disable the caching for e.g. :
 * Disable caching for the api module

To extend the caching period to one day for e.g. all special pages except for :
 * Extending the caching period for specific special pages