XF 1.4 Setting up Cache

Crimson

Active member
Do I only add the following to the config file to set up a cache?
Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
 
If you are on shared hosting, then it's more than likely not installed, and none of the other caching mechanisms will be either. Only thing you can do is run the File cache.
 
If you are on shared hosting, then it's more than likely not installed, and none of the other caching mechanisms will be either. Only thing you can do is run the File cache.
So just pop this into the config file?

Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
 
Thanks a bunch, Matt! :)

So the end product would look like this, right?

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