Any tips to optimise XenForo under LiteSpeed Server?

rdn

Well-known member
Like, htaccess caching.
I'm already using File Cache, here's my 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
 
Back
Top Bottom