{"id":72,"date":"2015-11-09T07:16:14","date_gmt":"2015-11-09T07:16:14","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=72"},"modified":"2017-04-13T08:20:42","modified_gmt":"2017-04-13T08:20:42","slug":"memcached-integration-with-magento","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/","title":{"rendered":"Memcached Integration With Magento"},"content":{"rendered":"<p>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.<\/p>\n<p>In this blog, i&#8217;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 &#8216;netstat&#8217; command for port 11211 which is the default port for memcached. To read more about memcached installation, follow the link :- <a href=\"http:\/\/cloudkul.com\/blog\/cache-mysql-data-using-memcached-a-more-practical-approach-to-memcached\/\">\u00a0http:\/\/cloudkul.com\/blog\/cache-mysql-data-using-memcached-a-more-practical-approach-to-memcached\/<\/a><\/p>\n<p>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:<\/p>\n<pre class=\"lang:default decode:true \">&lt;cache&gt;\r\n&lt;backend&gt;memcached&lt;\/backend&gt;&lt;!-- apc \/ memcached \/ empty=file --&gt;\r\n&lt;memcached&gt;&lt;!-- memcached cache backend related config --&gt;\r\n&lt;servers&gt;&lt;!-- any number of server nodes can be included --&gt;\r\n&lt;server&gt;\r\n&lt;host&gt;&lt;![CDATA[127.0.0.1]]&gt;&lt;\/host&gt;\r\n&lt;port&gt;&lt;![CDATA[11211]]&gt;&lt;\/port&gt;\r\n&lt;persistent&gt;&lt;![CDATA[1]]&gt;&lt;\/persistent&gt;\r\n&lt;\/server&gt;\r\n&lt;\/servers&gt;\r\n&lt;compression&gt;&lt;![CDATA[0]]&gt;&lt;\/compression&gt;\r\n&lt;cache_dir&gt;&lt;![CDATA[]]&gt;&lt;\/cache_dir&gt;\r\n&lt;hashed_directory_level&gt;&lt;![CDATA[]]&gt;&lt;\/hashed_directory_level&gt;\r\n&lt;hashed_directory_umask&gt;&lt;![CDATA[]]&gt;&lt;\/hashed_directory_umask&gt;\r\n&lt;file_name_prefix&gt;&lt;![CDATA[]]&gt;&lt;\/file_name_prefix&gt;\r\n&lt;\/memcached&gt;\r\n&lt;\/cache&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><strong><a href=\"http:\/\/cloudkul.com\/contact\/\">FOR ANY TYPE OF QUERY OR HELP, KINDLY CONTACT US<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We often hear complaints about how Magento is slow and performs poorly. Developers know, however, <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":5,"featured_media":330,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Memcached Integration With Magento - Cloudkul<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Memcached Integration With Magento - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"We often hear complaints about how Magento is slow and performs poorly. Developers know, however, [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-09T07:16:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T08:20:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/11\/Mamcached-Integration-With-Magento.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Naina Johari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\",\"name\":\"Memcached Integration With Magento - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2015-11-09T07:16:14+00:00\",\"dateModified\":\"2017-04-13T08:20:42+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Memcached Integration With Magento\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\",\"name\":\"Naina Johari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Naina Johari\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Memcached Integration With Magento - Cloudkul","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/","og_locale":"en_US","og_type":"article","og_title":"Memcached Integration With Magento - Cloudkul","og_description":"We often hear complaints about how Magento is slow and performs poorly. Developers know, however, [...]","og_url":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/","og_site_name":"Cloudkul","article_published_time":"2015-11-09T07:16:14+00:00","article_modified_time":"2017-04-13T08:20:42+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/11\/Mamcached-Integration-With-Magento.png","type":"image\/png"}],"author":"Naina Johari","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/","url":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/","name":"Memcached Integration With Magento - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2015-11-09T07:16:14+00:00","dateModified":"2017-04-13T08:20:42+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57"},"breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/memcached-integration-with-magento\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Memcached Integration With Magento"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57","name":"Naina Johari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Naina Johari"},"url":"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":4,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":553,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions\/553"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/330"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}