Hi Fellas, I am sharing this article showing how we can use the power of memcache alnog with magento. One of major magento drawback would be its speed, although we can several ways to speed up. Memcache is good option as its new and fast.
Before starting lets know a bit about what is memcache. Memcache is used to fast access database, api and etc. For this it uses some space on server. For more information please visit: http://www.memcached.org/
You can use below method to apply memcache for Magento v1.9 and older.
Below are the steps for starting memcache on your magento store:
1) Go to app/etc/ and find local.xml file.
2) Find the </global> tag and paste below code before the tag.
<cache>
Before starting lets know a bit about what is memcache. Memcache is used to fast access database, api and etc. For this it uses some space on server. For more information please visit: http://www.memcached.org/
You can use below method to apply memcache for Magento v1.9 and older.
Below are the steps for starting memcache on your magento store:
1) Go to app/etc/ and find local.xml file.
2) Find the </global> tag and paste below code before the tag.
<cache>
<cache>
<backend>memcached</backend> <slow_backend>database</slow_backend> <fast_backend>Memcached</fast_backend> <fast_backend_options> <servers> <server> <host><![CDATA[127.0.0.1]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[1]]></persistent> </server> </servers> </fast_backend_options> <memcached> <servers> <server> <host><![CDATA[127.0.0.1]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[1]]></persistent> </server> </servers> <compression><![CDATA[0]]></compression> <cache_dir><![CDATA[]]></cache_dir> <hashed_directory_level><![CDATA[]]></hashed_directory_level> <hashed_directory_umask><![CDATA[]]></hashed_directory_umask> <file_name_prefix><![CDATA[]]></file_name_prefix> </memcached> </cache>
Comments
Post a Comment