Sessions from the Cache


Well-known member
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.


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


Well-known member
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.
$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.


Well-known member
just wondering when you enabled

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

what specific path folder does it save the cache files?