Tipmoose
Member
I am trying to get basic caching implemented on my forum. Since file system caching sounds like the easiest to implement, I'm going to go with that first and then try more advanced solutions if performance suffers.
Ive placed the following in src/config.php
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Filesystem';
$config['cache']['config'] = [
'directory' => '/path/to/your/cache/directory'
];
What is that path relative to? I've tried making it relative to root with /home/tipmoose/tmp/cache. Ive tried making it relative to config.php with ../cache. Nothing seems to work. Nothing is ever generated in the cache folder. In all cases the cache folder has 777 permissions so I don't have to worry about it not being writable for my basic testing.
Ive placed the following in src/config.php
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Filesystem';
$config['cache']['config'] = [
'directory' => '/path/to/your/cache/directory'
];
What is that path relative to? I've tried making it relative to root with /home/tipmoose/tmp/cache. Ive tried making it relative to config.php with ../cache. Nothing seems to work. Nothing is ever generated in the cache folder. In all cases the cache folder has 777 permissions so I don't have to worry about it not being writable for my basic testing.