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

XF 1.1 Using File cache, should I "check" fetch public templates as file option?

Discussion in 'XenForo Questions and Support' started by RoldanLT, Jan 16, 2013.

  1. RoldanLT

    RoldanLT Well-Known Member

    I'm using File Cache, here's my config.php cache code.


    PHP:
    // Cache
    $config['cache']['enabled'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['cacheSessions'] = true;
    $config['cache']['frontendOptions'] = array('caching'  =>  true,
                                                
    'automatic_serialization' => true,
                                                
    'lifetime'    => 1800,
                                                
    'cache_id_prefix'  =>  'phc_'
    );
     
    // End Cache
     
     
     
    // File Cache
     
    $config['cache']['backend'] = 'File';
    $config['cache']['backendOptions'] = array('cache_dir'  => 'public_html/forum/internal_data/cache');
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions'] = array('caching'  =>  true,
                                                
    'automatic_serialization' => true,
                                                
    'lifetime'    => 1800
    );
     
    // End File Cache
    Should I enable this: [​IMG]
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    File cache is not an opcode cache.

    Therefore, no, I wouldn't bother enabling.
     
    Jake Bunce and Evina like this.

Share This Page