Caching

Hristo Avramov

Active member
I want to move to VPS and install apc cache. I found in this thread how to enable it https://xenforo.com/community/threads/tip-use-apc.6456/

My questions are:
1. I have this code in the config.php that enables simple caching, should I remove it?
Code:
$config['superAdmins'] = '1';

$config['cache']['enabled'] = true;

$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array('cache_dir'  => '/home2/morethb8/public_html/bettingforum/internal_data/cache');

$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching'  =>  true,
                                            'automatic_serialization' => true,
                                            'lifetime'    => 1800
);

2: I also have mods for caching- xen cache and bd-cache. Should I disable some of them too or no?
 
Firstly, remove either xen cache or bd cache, they do the same thing. Either one is fine alongside APC though.
You also need the following in your config.php at least,

$config['cache']['backend'] = 'Apc';
 
Firstly, remove either xen cache or bd cache, they do the same thing. Either one is fine alongside APC though.
You also need the following in your config.php at least,

$config['cache']['backend'] = 'Apc';
Thank you,

what about this
$config['cache']['backend'] = 'File';

Should I remove it ?
 
Thank you, I deleted all other caches, now my cache code looks just like this, is it okay ?

Code:
$config['cache']['backend'] = 'Apc';
 
This was my config.php setup with APC enabled

PHP:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['backend'] = 'Apc';
 
Firstly, remove either xen cache or bd cache, they do the same thing. Either one is fine alongside APC though.
WRONG.
Xen Cache helps both Guest and Members Login.
BD Cache mostly plays for the Guest.
Only the css and defer js thing works for both guest and member.
 
I looked that up after. There was another addon named xen cache or similar that did the same thing though, can't find it now.
 
Back
Top Bottom