MediaWiki  1.29.1
docs/sitescache.txt File Reference

Functions

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it sites are listed in a key value with the key being the site s global id (e.g. "enwiki") and a key-value map as the value. The site list is wrapped with in a "sites" key. Example
 

Variables

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently accessed
 
MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it Configuration
 
MediaWiki s SiteStore can be cached and stored in a flat file
 
MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it sites are listed in a key value map
 
MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database store
 

Function Documentation

◆ id()

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it sites are listed in a key value with the key being the site s global id ( e.g. "enwiki"  )

Definition at line 17 of file sitescache.txt.

Variable Documentation

◆ accessed

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently accessed

Definition at line 1 of file sitescache.txt.

◆ Configuration

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it Configuration

Definition at line 1 of file sitescache.txt.

Referenced by MediaWikiShell::execute().

◆ file

MediaWiki s SiteStore can be cached and stored in a flat file

Definition at line 1 of file sitescache.txt.

◆ map

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database even with memcached in front of it sites are listed in a key value map

Definition at line 1 of file sitescache.txt.

◆ store

MediaWiki s SiteStore can be cached and stored in a flat in a json format If the SiteStore is frequently the file cache may provide a performance benefit over a database store

Definition at line 1 of file sitescache.txt.

Referenced by SiteImporter::__construct(), Wikimedia\Rdbms\ChronologyProtector::__construct(), WANObjectCacheReaper::__construct(), RecompressTracked::__construct(), MediaWiki\Session\SessionBackend::__construct(), MediaWiki\Session\SessionManager::__construct(), LocalisationCache::__construct(), PPNode_Hash_Tree::__construct(), PPNode_Hash_Text::__construct(), PPNode_Hash_Attr::__construct(), LocalisationCache::disableBackend(), MediaWiki\Session\PHPSessionHandler::gc(), MediaWiki\Session\SessionManager::generateSessionId(), MediaWiki\Session\SessionBackendTest::getBackend(), MediaWiki\Session\SessionManager::getEmptySessionInternal(), MediaWiki\Session\SessionManagerTest::getManager(), PPNode_Hash_Tree::getNextSibling(), PPNode_Hash_Text::getNextSibling(), PPNode_Hash_Attr::getNextSibling(), MediaWiki\Session\SessionManager::getSessionById(), MediaWiki\Session\SessionManager::getSessionFromInfo(), WANObjectCacheReaper::getState(), Wikimedia\Rdbms\ChronologyProtector::getTouched(), SiteImporter::importFromDOM(), Wikimedia\Rdbms\ChronologyProtector::initPositions(), WANObjectCacheReaper::invoke(), LocalisationCache::isExpired(), LocalisationCache::loadItem(), MediaWiki\Session\SessionManager::loadSessionInfoFromStore(), LocalisationCache::loadSubitem(), SiteImporter::makeSiteList(), LocalisationCache::recache(), MediaWiki\Session\SessionBackend::resetId(), MediaWiki\Session\SessionBackend::save(), MediaWiki\Session\PHPSessionHandler::setManager(), MediaWiki\Session\SessionManager::setupPHPSessionHandler(), Wikimedia\Rdbms\ChronologyProtector::shutdown(), MediaWiki\Session\SessionBackendTest::testConstructor(), MediaWiki\Session\SessionManagerTest::testConstructor(), MediaWiki\Session\SessionBackendTest::testGetData(), MediaWiki\Session\SessionManagerTest::testGetEmptySession(), MediaWiki\Session\SessionManagerTest::testGetSessionById(), MediaWiki\Session\SessionManagerTest::testLoadSessionInfoFromStore(), MediaWiki\Session\SessionBackendTest::testRenew(), MediaWiki\Session\SessionBackendTest::testResetId(), MediaWiki\Session\SessionBackendTest::testSave(), MediaWiki\Session\SessionBackendTest::testSetProviderMetadata(), MediaWiki\Session\SessionBackendTest::testUnpersist(), and MediaWiki\Session\SessionBackend::unpersist().