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

Caching setup...

#1
As per the guide, I've added the following lines to config.php...

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

$config['cache']['backend'] = 'File';
We've got memcached on the server so will be changing caching to that, but in the meantime...

Where are the cached files exactly, I can't find any trace of them?

Cheers

Chris
 

Moscato

Active member
#2
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] ['cache_dir'] = '/srv/http/techraptor/community/file_cache';

Honestly, I couldn't find it either.

This is what I'm using. I put file_cache on tmpfs. It's been using maybe 5MB of ram.