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

Any tips to optimise XenForo under LiteSpeed Server?

Discussion in 'Server Configuration and Hosting' started by RoldanLT, Jan 16, 2013.

  1. RoldanLT

    RoldanLT 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
     

Share This Page