How to configure Magento to use Memcached
Posted by Bill Williams on 10 February 2016 10:19 AM

In this tutorial we will explain how to configure your Magento application to use Memcached.

The Magento application natively supports Memcached.

This means that you just need to enable this option. In order to do this you have to edit the Magento XML configuration file - local.xml.

This file is stored inside the web root folder. For example, if your website is accessible at:

this means that the local.xml file is in your public_html/magento/app/etc folder. In order to edit the file you can use the cPanel File Manager.

Open the file and find the following line of code (usually this is also the end of the file):


Right before this line add the following lines:

<!-- apc / memcached / empty=file -->
<!-- memcached cache backend related config -->
<!-- any number of server nodes can be included -->

That's it - your Magento application is now correctly configured. From now on the e-commerce app will use Memcached to cache certain API calls, database calls and objects.

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).