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

Caching

#1
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?
 

Solidus

Well-known member
#3
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';
 
#4
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 ?
 

MattW

Well-known member
#7
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';
 

RoldanLT

Well-known member
#10
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.
 

Solidus

Well-known member
#11
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.