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
For example, to use the APCu cache store, change the line to:
$config['cache_store'] = 'apcu';
Supported Cache Handlers
The default cache handler.
Please note, APC Cache Handler is no longer officially supported.
Please note, APCu is available in MyBB 1.8.23 or higher.
Cache files are written to the filesystem within the
cache/directory as PHP files. The
cache/directory must be writeable for this cache handler to function.
Please note, eAccelerator is no longer officially supported.
Please note, you will also need to set the Memcache hostname and port setting for this Cache Handler to work.
Please 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.