xenForo Cache Options - clarification?

xenTheory

Active member
Sorry if this seems like a stupid question, but...

Going by the instructions in this page I've added

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

to my config.php file and restarted Apache. Did I miss some of the instructions or is that all I really need to do in order to utilize built in caching? I don't want to use APC or memcached.
 
This is what I used to have configured when I was on a shared server: http://xenforo.com/community/threads/xcache-config-for-dummies-like-me.29137/#post-336488

Code:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] ['cache_dir'] = '/path/to/cache';
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] ['cache_id_prefix'] = 'xf_';

More info here: http://xenforo.com/community/threads/some-users-saying-site-slow.31061/#post-355487
 
This is what I used to have configured when I was on a shared server: http://xenforo.com/community/threads/xcache-config-for-dummies-like-me.29137/#post-336488

Code:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] ['cache_dir'] = '/path/to/cache';
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] ['cache_id_prefix'] = 'xf_';

More info here: http://xenforo.com/community/threads/some-users-saying-site-slow.31061/#post-355487

Thank you, I'm on a dedicated but host other users. I would move to another dedicated just for my xF site but it's more downtime and hassle.

I just checked and I'm using

Code:
$config['cache']['cacheSessions'] = true;
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['backend'] = 'File';

But let me add the path in there. Cheers again.
 
Ah, I've had to disable it as it causes problems with the Resource Manager and uploading giving an undefined error. Annoying but never mind. It's problably not an issue for most forum but the RM is used to handle files 400MB-1GB, which it does an OK job.
 
Sorry if this seems like a stupid question, but...

Going by the instructions in this page I've added

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

to my config.php file and restarted Apache. Did I miss some of the instructions or is that all I really need to do in order to utilize built in caching? I don't want to use APC or memcached.

Hey,

I have the same Question. I have a VPS with Apache, is this all what i have to put in the config to enable Caching? I dont have the RM.

$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['cacheSessions'] = true;
 
Back
Top Bottom