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

Caching setup...

Discussion in 'Server Configuration and Hosting' started by cjwinternet, Mar 29, 2015.

  1. cjwinternet

    cjwinternet Member

    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
     
  2. Moscato

    Moscato Active Member

    $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.
     
    RoldanLT likes this.

Share This Page