• 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?

RoldanLT

Well-known member
#1
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: