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

XF 1.4 Setting up Cache

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

MattW

Well-known member
#7
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.
 
#8
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_';
 
#10
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';