Magento has got a cache system that is based on files by default. We can boost the overall performance by changing the cache handler to a better engine like APC or Memcached. This recipe will help us to set up APC or Memcached as the cache backend.
Installation of APC:
Alternative PHP Cache (APC) is a PECL extension. For any Debian-based Distro, it can be installed with an easy command from the terminal:
You can also install it from the source. The package download location for APC is: http://pecl.php.net/package/APC. Check whether it exists or not in
phpinfo(). If you cannot see an APC block there, then you might not have added APC in the
Installation of Memcached: