MyBB’s Datacache, fetched from the database by default, can be stored using different cache handlers to improve performance.
You can select which Cache Handler you would like to use on your MyBB installation by editing the configuration file (inc/config.php) and changing the value of $config['cache_store'].
For example, to use the APCu cache store, change the line to:
$config['cache_store'] = 'apcu';
Supported Cache Handlers
- 
    DatabasedbThe default cache handler. 
- 
    APCapcPlease note, APC Cache Handler is no longer officially supported. 
- 
    APCuapcuPlease note, APCu is available in MyBB 1.8.23 or higher. 
- 
    FilesfilesCache files are written to the filesystem within the cache/directory as PHP files. Thecache/directory must be writeable for this cache handler to function.
- 
    eAcceleratoreacceleratorPlease note, eAccelerator is no longer officially supported. 
- 
    Memcachememcache
- 
    MemcachedmemcachedPlease note, you will also need to set the Memcache hostname and port setting for this Cache Handler to work. 
- 
    RedisredisPlease note, you will need to set the Redis hostname ( $config['redis']['host']) and port ($config['redis']['port']) setting for this Cache Handler to work.This handler is available in MyBB 1.8.23 or higher.