XF 1.3 Opcache

#1
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_';
 

Mike

XenForo developer
Staff member
#2
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.
 
#5
Okay, after I enable memcache, will the config work well?

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