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

Memcached & Caching Sessions

Bill.D

Active member
#1
Hey All,

I just want to make sure I did this right. I have 3 severs that are load balanced. I set up a Memcached server and I have entered the Following:

PHP:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
    'compression' => false,
    'servers' => array(
        array(
            // X's are for Privacy
            'host' => 'xxxxxx.xxo.cxx.usxx.cache.amazonaws.com',
          
            // X's are for Privacy
            'port' => xxxxx,
        )
    )
);
Is that correct? In the instructions @ Xenforo.com/help/cache/ it was a little confusing because it shows the Session Caching in the frontend and the frontend cache indicates that it uses the Core to cache where as I need a single point to store sessions which I wanted to be the memcached server.

So far no errors, but I don't want them to rear up when the site is public.

Thanks,
-Bill