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

XF 1.5 Cache

Discussion in 'XenForo Questions and Support' started by Maester Aemon, Mar 27, 2016.

  1. Maester Aemon

    Maester Aemon Member

    Hi,

    I am wondering if the "lifetime" variable in $config['cache']['frontendOptions'] is in seconds, I think so but not sure.

    Also I'm wondering which cache systems are available for backend, currently using libmemcached.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    See the docs here:

    https://xenforo.com/help/cache/

    This page links to the Zend docs for all of the available backends.

    Unless I am mistaken, there is no $config['cache']['frontendOptions']['lifetime'] option.
     
  3. Maester Aemon

    Maester Aemon Member

    You're correct, I ment this

    $config['cache']['frontendOptions'] = array(
    'caching' => true,
    'cache_id_prefix' => 'xf_',
    'automatic_serialization' => false,
    'lifetime' => 0
    );

    Do you possibly know if its in seconds?
     
  4. RoldanLT

    RoldanLT Well-Known Member

  5. Maester Aemon

    Maester Aemon Member

    Hmm I don't use zend but I assume its the same.
    Thanks!
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I was mistaken. RoldanLT's link shows all of the front end options.

    XenForo uses the Zend framework, code-wise. The caching system is part of that framework. The front end options belong to Zend regardless of which backend you use.
     

Share This Page