Con­figu­ration para­meter "$smwgFactboxUseCache"

From semantic-mediawiki.org
Configuration parameter details:
Name $smwgFactboxUseCache
Description Sets whether or not a factbox content should be stored in cache.
NoteNote: Requires $smwgCacheType be set; otherwise caching will have no effect.
Default setting
true
Software Semantic MediaWiki
Since version
Until version still available
Configuration Cache
Keyword cache · object cache · factbox · performance


$smwgFactboxUseCache is a configuration parameter that sets whether or not a factbox content should be stored in cache. The configuration parameter was introduced in Semantic MediaWiki 1.9.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x., used until Semantic MediaWiki 2.5.8 and deprecated in Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x..

This configuration parameter was deprecated with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. in favour of option SMW_FACTBOX_CACHE to configuration parameter $smwgFactboxFeatures streamlining the overall configuration of Semantic MediaWiki.1 Thus you are advised to migrate your settings in "LocalSettings.php" to the new configuration parameter since this one will be removed with the release of Semantic MediaWiki 3.1.0Released on and compatible with . in late 2018.

This setting will considerable improve page response time as non-changed page content will not cause re-parsing of factbox content and instead is served directly from cache while only a new revision will trigger to re-parse the factbox.

If this parameter is set to false which equals legacy behaviour (≤ SMW 1.8.0) then every page request will bind the factbox to be re-parsed.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:3474