Cheers
Do you mean my APC config file or my XF one?
## Caching
# http://xenforo.com/community/threads/speed-up-your-board-caching.5699/
# http://xenforo.com/community/threads/tip-use-apc.6456/
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 10800,
'cache_id_prefix' => 'xf'
);
$config['cache']['backend'] = 'Apc';
You're very much welcome.Thanks, that's what I meant about conflicting advice. Kier's post previously said APC will just work but then there's other posts like the one you quote above so I was a bit confused regarding what was really needed.
I don't think he did and if he did, in my opinion he would be wrong.Sorry I edited my post while you were replying. Didn't Kier advise NOT to do what you suggest with the config file?
$config['cache']['backend'] = 'Apc';
At your command prompt type the followingCheers
At the minute my server load seems quite a bit higher than it used to on VB :-(
It hovered around 0.4 most of the time but on XF it's at around 1-1.5. I'm hoping this is just the fact that it's new and not yet cached locally for our visitors and should level out.
Are there any other "easy" optimisations?
XenForo's config.php file.Cheers
Do you mean my APC config file or my XF one?
For your config.php
Code:## Caching # http://xenforo.com/community/threads/speed-up-your-board-caching.5699/ # http://xenforo.com/community/threads/tip-use-apc.6456/ $config['cache']['frontend'] = 'Core'; $config['cache']['frontendOptions'] = array( 'caching' => true, 'automatic_serialization' => true, 'lifetime' => 10800, 'cache_id_prefix' => 'xf' ); $config['cache']['backend'] = 'Apc';
I kept my cache id prefix short as to improve load and naming resolve resources. You could name it to anything really, but the shorter the better.
You shouldn't have the need to change anything in your APC config file, but if you want to try something new and have at least 2GB of ram
I found this post most useful
http://xenforo.com/community/threads/tip-use-apc.6456/page-5#post-317902
'cache_id_prefix' => 'xf_'
We use essential cookies to make this site work, and optional cookies to enhance your experience.