27 $this->
setSession( $id, [
'metadata' => $metadata ] );
39 $blob[
'metadata'] += [
43 'provider' =>
'DummySessionProvider',
54 $expiry = \RequestContext::getMain()->getConfig()->get(
'ObjectCacheSessionExpiry' );
55 $this->
set( $this->
makeKey(
'MWSession', $id ),
$blob, $expiry );
63 return $this->
get( $this->
makeKey(
'MWSession', $id ) );
71 return $this->backend->get( $this->
makeKey(
'MWSession', $id ) );
78 $this->
delete( $this->
makeKey(
'MWSession', $id ) );
Wrapper around a BagOStuff that caches data in memory.
makeKey( $class, $component=null)
Make a cache key, scoped to this instance's keyspace.
Simple store for keeping values in an associative array for the current process.
$data
Utility to generate mapping file used in mw.Title (phpCharToUpper.json)
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))