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

Sessions from the Cache

Marcus

Well-known member
#1
How do I see a difference with the new Sessions from the Cache feature? When I put the new line into my xenforo 1.1 beta 4 config.php along with the apc cache instruction, I see 10 queries per page as before without adding this line to config.php.

beta 4 is around 5-10% faster than beta 3.
 

mrGTB

Well-known member
#3
From what I read, gathered. You only get an advantage from it if using one of the cache systems. Are you using one?
 

Marcus

Well-known member
#6
This is how my xenforo config.php looks like in the cache section. The first line was missing, and because of this the case was not enabled.
Code:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
                                        'caching'                      => true,
                                        'automatic_serialization'      => true,
                                        'lifetime'                      => 3600,
                                        'cache_id_prefix' => 'foro'
);

$config['cache']['backend'] = 'Apc';
Now it takes 6 queries instead of 10.
 

swatme

Well-known member
#9
just wondering when you enabled

$config['cache']['backend'] = 'File';

what specific path folder does it save the cache files?