How do I enable file caching?

yes.

it's internal_data/ it has an .htaccess file in there.
chmod this dir

cd into your xenforo dir
cd internal_data/
mkdir cache
cd ..
chmod -R 777 internal_data/
 
ok thanks! I just bought a dedicated server and trying to fully optimize it for XF hosting. If I was to offer other XF sites hosting besides my site, what is the best caching system to use? Server is FreeBSD 8.1 with 16GB ram and RAID 10.
 
I'm getting an internal server error when I use these:

Code:
$config['cache']['enabled'] = true;

$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array('cache_dir'  => '/home/user/public_html/internal_data/cache');

$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching'  =>  true,
                                            'automatic_serialization' => true,
                                            'lifetime'    => 1800
);

I also have memcached installed. How would I use it?
 
PHP:
$config['cache']['enabled'] = true;

$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array('cache_dir'  => '{{FULL PATH TO CACHE DIR}}');

$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching'  =>  true,
                                            'automatic_serialization' => true,
                                            'lifetime'    => 1800
);

Replacing the {{FULL PATH TO CACHE DIR}} To the full path to your cache dir, recomended is /library/cache

Thanks Cezz

Wow, much better now :D:D:D
 
Top Bottom