Timing: 0.1321 seconds Memory: 7.984 MB
Timing: 0.0833 seconds Memory: 5.782 MB
Is there anything I should know before I enable/install APC?
Currently running a few sites powered by SMF 1.11, vBulletin 4.0 and xF RC2.
I don't want to break anything in the process lol.
Thanks
Note: The cache_id_prefix is handy if you run more than one instance on the same server. Plus, I still recommend to set one, so it doesn't conflict with whatever else you might be running on the server
What exactly do you mean by that?
If you run one more than one XenForo forum, or another application that uses APC on the server.
yesThanks
One more question:
Do I have to set a different prefix for each, "foro" and "foro2", for instance?
yes, it is still accurate.Not sure if this is the correct place to ask but is the first post still applicable? Once APC is installed do I just add what's in the first post into my config and that's it?
It would also be good to have a guide or examples of what the default values should be for XF. I realise getting optimal vaalues is more complicated but some for a good starting point would be useful.
I'd like to make myself clear on this - I personally do not recommend that you use APC for shared memory caching via your config file.
We use APC here for its opcode cache only, which it does automatically by virtue of being installed on your server. I do recommend that you have APC installed, for its opcode cache, which will massively speed up your page loads vs a system without APC.
If you want to use a shared-memory cache system, I'd recommend memcache, not APC.
I stated them earlier in this thread - APC has cache slam issues, amongst other problems.Kier,
I would be interested in your reasonings why you do not recommend APC.
I stated them earlier in this thread - APC has cache slam issues, amongst other problems.
Basic instructions:
Install APC for PHP. And enable it.
Don't touch config.php, unless you have memcached, set caching on, a prefix, and the back-end to Memcached.
We use essential cookies to make this site work, and optional cookies to enhance your experience.