Translations:Manual:$wgObjectCaches/10/en

Alternatively, a "factory" parameter may be given, giving a callable function which will generate a suitable cache object.