We often hear complaints about how Magento is slow and performs poorly. Developers know, however, that performance is relative and that we can do a number of things to speed up a Magento site.To increase the speed of magento page loads as much as possible, it is recommended to enable memcached within magento.
In this blog, i’ll explain about how to configure your magento application to use memcached. First of all, be sure that memcached is installed and running on your system. You can verify it by simply running a ‘netstat’ command for port 11211 which is the default port for memcached. To read more about memcached installation, follow the link :- http://cloudkul.com/blog/cache-mysql-data-using-memcached-a-more-practical-approach-to-memcached/
Magento application natively supports memcached, this means that you just need to enable this option in local.xml file.The file local.xml is in your public_html/magento/app/etc folder. To enable Memcached within Magento, you will need to add the following block of code to your app/etc/local.xml file:
<backend>memcached</backend><!-- apc / memcached / empty=file -->
<memcached><!-- memcached cache backend related config -->
<servers><!-- any number of server nodes can be included -->