|
srinigenie - 12 May 2008 06:27 PM One reason why I suspected that Magento code is written for APC is the latest release notes Magento 1.0.19870 (May 8, 2008) - has a line saying
“Fixed APC cache backend”
Actually these are two different things. First is PHP code (bytecode) caching, and the second is caching data in Magento.
You can use any bytecode caching solution (APC, eAccelerator, xCache, ZendPlatform/ZendOptimizer), if it works ok for you. We tested Magento only under APC and eAccelerator. The last had some issues with exception handling in PHP5 that time, but it might be already fixed.
Magento data caching can be implemented with a few backends at the moment:
- filesystem cache (by default)
- using filesystem cache on in-memory filesystems (tmpfs, etc)
- APC
- memcached
Filesystem cache usually shows lower performance, but it can work in any environment and it doesn’t require you to install any additional software or to have any specific knowledge on server configuration.
|