File cache... where?

Gladius

Well-known member
So I've turned file caching on...

Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'File';

But where's the cache kept? I can't find it, heh. Is there some way to check that it's all working as it should?

Initially I wanted to go for XCache but I'd have to disable suPHP which I'm not keen on for security reasons... I don't suppose there's an alternative to file cache that works with suPHP?
 
For reference:
http://framework.zend.com/manual/1.12/en/zend.cache.backends.html#zend.cache.backends.file

By default the "cache_dir" is the system tmp directory. But you can change it by specifying backendOptions:

Rich (BB code):
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';

$config['cache']['cacheSessions'] = true;

$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array(
	'cache_dir' => '/path/to/cache/dir/'
);
 
Top Bottom