Sessions from the Cache

Marcus

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.
 
From what I read, gathered. You only get an advantage from it if using one of the cache systems. Are you using one?
 
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.
 
  • Like
Reactions: DSF
This is how XenFans currently has it's config.php with 110b4

Screen shot 2011-10-28 at 10.11.39 AM.webp

Timing: 0.0580 seconds / DB Queries: 8
 
just wondering when you enabled

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

what specific path folder does it save the cache files?
 
Top Bottom