• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Opcache

I want to use the php build opcache. What other cache can I use with it?

Currently my config is this. I guess opcache works without configuring it in the config file.

$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';


XenForo developer
Staff member
Opcache is for caching PHP's opcodes. The config.php cache entries are for caching data, so it's generally unrelated. If you're going to go for something in config.php, I'd probably go memcache.
Okay, after I enable memcache, will the config work well?

$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'bf_';
$config['cache']['backend'] = 'memcache';