XF 1.1 Cache Question

MattW

Well-known member
I've switched my server from suPHP to fcgi, and installed Xcache, so I can now make use of the caching properly with Xenforo.

I've got a question with regards to the front end options.

This is what I've got set in my Config file:
Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
 
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'xcache';

In less than 2 hours, there are almost 2000 files in /tmp
Code:
z22se@z22se.co.uk [/var/tmp]# ls -al xf_* | wc -l
1850

My question is, am I OK to run cleantmp on these and remove them after X hours / days?
 
Are you sure it's actually using Xcache? Your backend value may well be wrong - it should be 'Xcache' (capital X). It sounds like it may be falling back to file caching.
 
I can see pages in the xcache admin, and the files in /tmp haven't increased anymore.

xcache.webp

xcache2.webp

I've changed my config file read Xcache just incase.
 
Top Bottom