Skip to content

add memcached support #23

@WolfgangFahl

Description

@WolfgangFahl

use WolfgangFahl/pymediawikidocker#102 to do so

add service to docker-compose.yaml:

  memcached:
    image: memcached:alpine
    restart: always

add config to Localsettings.php

$wgMainCacheType = CACHE_MEMCACHED;
$wgParserCacheType = CACHE_MEMCACHED; 
$wgMessageCacheType = CACHE_MEMCACHED; 
$wgMemCachedServers = [ 'memcached:11211' ];
$wgSessionsInObjectCache = true; 
$wgSessionCacheType = CACHE_MEMCACHED;

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions