{"id":1473,"date":"2016-10-14T13:12:14","date_gmt":"2016-10-14T13:12:14","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=1473"},"modified":"2017-06-14T11:33:46","modified_gmt":"2017-06-14T11:33:46","slug":"configure-magento-1-9-x-with-redis-as-backend-cache","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/","title":{"rendered":"Configure Magento 1.9.x with Redis as Backend Cache"},"content":{"rendered":"<p style=\"text-align: justify\">Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.<\/p>\n<p>Redis is an open source, BSD licensed, advanced key-value store that can optionally be used in Magento for back end and session storage. It can be used to cache the database resulting in exploitation of less database resources, and provides a tunable persistent cache. It is a good alternative to memcacheD.<\/p>\n<p>When first time page is loaded, a database is queried on the server. Redis caches the query. Next time other user loads the page the results are provided from the redis without quering the actual database. It implements a persistent object cache (no expiration). An object cache works by caching the SQL queries in memory which are needed to load the web page. When the data of main database server is updated,then corresponding key in the redis is invalidated. So the it provides the updated data instead of caching the data. If a query is not available in redis, the database provides the result and it adds the result to its cache.<\/p>\n<p>So, let&#8217;s begin with its installing and configure it for Magento.<\/p>\n<p>Update and install redis-server.<\/p>\n<pre class=\"lang:default decode:true\">sudo su\r\n\r\napt-get update\r\n\r\napt-get install redis-server<\/pre>\n<p>Configure Magento,<\/p>\n<pre class=\"lang:default decode:true\">nano \/&lt;magento-root-directory&gt;\/app\/etc\/modules\/Cm_RedisSession.xml<\/pre>\n<p>To enable the module, edit<\/p>\n<pre class=\"lang:default decode:true\">&lt;config&gt;\r\n  &lt;modules&gt;\r\n    &lt;Cm_RedisSession&gt;\r\n      &lt;active&gt;false&lt;\/active&gt;\r\n      &lt;codePool&gt;community&lt;\/codePool&gt;\r\n    &lt;\/Cm_RedisSession&gt;\r\n  &lt;\/modules&gt;\r\n&lt;\/config&gt;\r\n\r\n<\/pre>\n<p>To<\/p>\n<pre class=\"lang:default decode:true\">&lt;config&gt;\r\n  &lt;modules&gt;\r\n    &lt;Cm_RedisSession&gt;\r\n      &lt;active&gt;true&lt;\/active&gt;\r\n      &lt;codePool&gt;community&lt;\/codePool&gt;\r\n    &lt;\/Cm_RedisSession&gt;\r\n  &lt;\/modules&gt;\r\n&lt;\/config&gt;\r\n\r\n<\/pre>\n<p>Then, edit the \u2018local.xml\u2019 file located in magento directory.<\/p>\n<pre class=\"lang:default decode:true\">nano \/magento-root-dirrectory\/app\/etc\/local.xml<\/pre>\n<p>Change<\/p>\n<pre class=\"lang:default decode:true \">&lt;?xml version=\"1.0\"?&gt;\r\n\r\n&lt;config&gt;\r\n    &lt;global&gt;\r\n        &lt;install&gt;\r\n            &lt;date&gt;&lt;![CDATA[Tue, 04 Oct 2016 09:53:37 +0000]]&gt;&lt;\/date&gt;\r\n        &lt;\/install&gt;\r\n        &lt;crypt&gt;\r\n            &lt;key&gt;&lt;![CDATA[e972f3c4e8436052de805bdf1f40de0f]]&gt;&lt;\/key&gt;\r\n        &lt;\/crypt&gt;\r\n        &lt;disable_local_modules&gt;false&lt;\/disable_local_modules&gt;\r\n        &lt;resources&gt;\r\n            &lt;db&gt;\r\n                &lt;table_prefix&gt;&lt;![CDATA[]]&gt;&lt;\/table_prefix&gt;\r\n            &lt;\/db&gt;\r\n            &lt;default_setup&gt;\r\n                &lt;connection&gt;\r\n                    &lt;host&gt;&lt;![CDATA[localhost]]&gt;&lt;\/host&gt;\r\n                    &lt;username&gt;&lt;![CDATA[magento]]&gt;&lt;\/username&gt;\r\n                    &lt;password&gt;&lt;![CDATA[magento]]&gt;&lt;\/password&gt;\r\n                    &lt;dbname&gt;&lt;![CDATA[magento]]&gt;&lt;\/dbname&gt;\r\n                    &lt;initStatements&gt;&lt;![CDATA[SET NAMES utf8]]&gt;&lt;\/initStatements&gt;\r\n                    &lt;model&gt;&lt;![CDATA[mysql4]]&gt;&lt;\/model&gt;\r\n                    &lt;type&gt;&lt;![CDATA[pdo_mysql]]&gt;&lt;\/type&gt;\r\n                    &lt;pdoType&gt;&lt;![CDATA[]]&gt;&lt;\/pdoType&gt;\r\n                    &lt;active&gt;1&lt;\/active&gt;\r\n                &lt;\/connection&gt;\r\n &lt;\/default_setup&gt;\r\n        &lt;\/resources&gt;\r\n        &lt;session_save&gt;&lt;![CDATA[files]]&gt;&lt;\/session_save&gt;\r\n    &lt;\/global&gt;\r\n    &lt;admin&gt;\r\n        &lt;routers&gt;\r\n            &lt;adminhtml&gt;\r\n                &lt;args&gt;\r\n                    &lt;frontName&gt;&lt;![CDATA[admin]]&gt;&lt;\/frontName&gt;\r\n                &lt;\/args&gt;\r\n            &lt;\/adminhtml&gt;\r\n        &lt;\/routers&gt;\r\n    &lt;\/admin&gt;\r\n&lt;\/config&gt;\r\n<\/pre>\n<p>To<\/p>\n<pre class=\"lang:default decode:true\">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;config&gt;\r\n    &lt;global&gt;\r\n        &lt;install&gt;\r\n            &lt;date&gt;&lt;![CDATA[Tue, 04 Oct 2016 09:53:37 +0000]]&gt;&lt;\/date&gt;\r\n        &lt;\/install&gt;\r\n        &lt;crypt&gt;\r\n            &lt;key&gt;&lt;![CDATA[e972f3c4e8436052de805bdf1f40de0f]]&gt;&lt;\/key&gt;\r\n        &lt;\/crypt&gt;\r\n        &lt;disable_local_modules&gt;false&lt;\/disable_local_modules&gt;\r\n        &lt;resources&gt;\r\n            &lt;db&gt;\r\n                &lt;table_prefix&gt;&lt;![CDATA[]]&gt;&lt;\/table_prefix&gt;\r\n            &lt;\/db&gt;\r\n            &lt;default_setup&gt;\r\n                &lt;connection&gt;\r\n                    &lt;host&gt;&lt;![CDATA[localhost]]&gt;&lt;\/host&gt;\r\n                    &lt;username&gt;&lt;![CDATA[magento]]&gt;&lt;\/username&gt;\r\n                    &lt;password&gt;&lt;![CDATA[magento]]&gt;&lt;\/password&gt;\r\n                    &lt;dbname&gt;&lt;![CDATA[magento]]&gt;&lt;\/dbname&gt;\r\n                    &lt;initStatements&gt;&lt;![CDATA[SET NAMES utf8]]&gt;&lt;\/initStatements&gt;\r\n                    &lt;model&gt;&lt;![CDATA[mysql4]]&gt;&lt;\/model&gt;\r\n                    &lt;type&gt;&lt;![CDATA[pdo_mysql]]&gt;&lt;\/type&gt;\r\n                    &lt;pdoType&gt;&lt;![CDATA[]]&gt;&lt;\/pdoType&gt;\r\n                    &lt;active&gt;1&lt;\/active&gt;\r\n                &lt;\/connection&gt;\r\n &lt;\/default_setup&gt;\r\n        &lt;\/resources&gt;\r\n\r\n&lt;!-- This is a child node of config\/global --&gt;\r\n&lt;cache&gt;\r\n  &lt;backend&gt;Cm_Cache_Backend_Redis&lt;\/backend&gt;\r\n  &lt;backend_options&gt;\r\n    &lt;server&gt;127.0.0.1&lt;\/server&gt; &lt;!-- or absolute path to unix socket --&gt;\r\n    &lt;port&gt;6379&lt;\/port&gt;\r\n    &lt;persistent&gt;&lt;\/persistent&gt; &lt;!-- Specify unique string to enable persistent connections. E.g.: sess-db0; bugs with phpredis and php-fpm are known: https:\/\/github.com\/nicolasff\/phpredis\/issues\/70 --&gt;\r\n    &lt;database&gt;0&lt;\/database&gt; &lt;!-- Redis database number; protection against accidental data loss is improved by not sharing databases --&gt;\r\n    &lt;password&gt;&lt;\/password&gt; &lt;!-- Specify if your server requires authentication --&gt;\r\n    &lt;force_standalone&gt;0&lt;\/force_standalone&gt;  &lt;!-- 0 for phpredis, 1 for standalone PHP --&gt;\r\n    &lt;connect_retries&gt;1&lt;\/connect_retries&gt;    &lt;!-- Reduces errors due to random connection failures; a value of 1 will not retry after the first failure --&gt;\r\n    &lt;read_timeout&gt;10&lt;\/read_timeout&gt;         &lt;!-- Set read timeout duration; phpredis does not currently support setting read timeouts --&gt;\r\n    &lt;automatic_cleaning_factor&gt;0&lt;\/automatic_cleaning_factor&gt; &lt;!-- Disabled by default --&gt;\r\n    &lt;compress_data&gt;1&lt;\/compress_data&gt;  &lt;!-- 0-9 for compression level, recommended: 0 or 1 --&gt;\r\n    &lt;compress_tags&gt;1&lt;\/compress_tags&gt;  &lt;!-- 0-9 for compression level, recommended: 0 or 1 --&gt;\r\n    &lt;compress_threshold&gt;20480&lt;\/compress_threshold&gt;  &lt;!-- Strings below this size will not be compressed --&gt;\r\n    &lt;compression_lib&gt;gzip&lt;\/compression_lib&gt; &lt;!-- Supports gzip, lzf, lz4 (as l4z) and snappy --&gt;\r\n    &lt;use_lua&gt;0&lt;\/use_lua&gt; &lt;!-- Set to 1 if Lua scripts should be used for some operations --&gt;\r\n  &lt;\/backend_options&gt;\r\n&lt;\/cache&gt;\r\n        &lt;!--session_save&gt;&lt;![CDATA[files]]&gt;&lt;\/session_save--&gt;\r\n\r\n&lt;session_save&gt;db&lt;\/session_save&gt;\r\n        &lt;redis_session&gt;                       &lt;!-- All options seen here are the defaults --&gt;\r\n            &lt;host&gt;127.0.0.1&lt;\/host&gt;            &lt;!-- Specify an absolute path if using a unix socket --&gt;\r\n            &lt;port&gt;6379&lt;\/port&gt;\r\n            &lt;password&gt;&lt;\/password&gt;             &lt;!-- Specify if your server requires authentication --&gt;\r\n            &lt;timeout&gt;2.5&lt;\/timeout&gt;            &lt;!-- This is the connection timeout, not the locking timeout --&gt;\r\n            &lt;persistent&gt;&lt;\/persistent&gt;         &lt;!-- Specify unique string to enable persistent connections. E.g.: sess-db0; bugs with phpredis and php-fpm are known: https:\/\/github.com\/nicolasff\/phpredis\/issues\/70 --&gt;\r\n            &lt;db&gt;0&lt;\/db&gt;                        &lt;!-- Redis database number; protection from accidental loss is improved by using a unique DB number for sessions --&gt;\r\n            &lt;compression_threshold&gt;2048&lt;\/compression_threshold&gt;  &lt;!-- Set to 0 to disable compression (recommended when suhosin.session.encrypt=on); known bug with strings over 64k: https:\/\/github.com\/colinmollenhour\/Cm_Cache_Backend_Redis\/issues\/18 --&gt;\r\n            &lt;compression_lib&gt;gzip&lt;\/compression_lib&gt;              &lt;!-- gzip, lzf, lz4 or snappy --&gt;\r\n            &lt;log_level&gt;1&lt;\/log_level&gt;               &lt;!-- 0 (emergency: system is unusable), 4 (warning; additional information, recommended), 5 (notice: normal but significant condition), 6 (info: informational messages), 7 (debug: the most information for development\/testing) --&gt;\r\n            &lt;max_concurrency&gt;6&lt;\/max_concurrency&gt;                 &lt;!-- maximum number of processes that can wait for a lock on one session; for large production clusters, set this to at least 10% of the number of PHP processes --&gt;\r\n            &lt;break_after_frontend&gt;5&lt;\/break_after_frontend&gt;       &lt;!-- seconds to wait for a session lock in the frontend; not as critical as admin --&gt;\r\n            &lt;fail_after&gt;10&lt;\/fail_after&gt;                          &lt;!-- seconds after which we bail from attempting to obtain lock (in addition to break after time) --&gt;\r\n            &lt;break_after_adminhtml&gt;30&lt;\/break_after_adminhtml&gt;\r\n            &lt;first_lifetime&gt;600&lt;\/first_lifetime&gt;                 &lt;!-- Lifetime of session for non-bots on the first write. 0 to disable --&gt;\r\n            &lt;bot_first_lifetime&gt;60&lt;\/bot_first_lifetime&gt;          &lt;!-- Lifetime of session for bots on the first write. 0 to disable --&gt;\r\n            &lt;bot_lifetime&gt;7200&lt;\/bot_lifetime&gt;                    &lt;!-- Lifetime of session for bots on subsequent writes. 0 to disable --&gt;\r\n            &lt;disable_locking&gt;0&lt;\/disable_locking&gt;                 &lt;!-- Disable session locking entirely. --&gt;\r\n            &lt;min_lifetime&gt;60&lt;\/min_lifetime&gt;                      &lt;!-- Set the minimum session lifetime --&gt;\r\n            &lt;max_lifetime&gt;2592000&lt;\/max_lifetime&gt;                 &lt;!-- Set the maximum session lifetime --&gt;\r\n        &lt;\/redis_session&gt;\r\n    &lt;\/global&gt;\r\n    &lt;admin&gt;\r\n        &lt;routers&gt;\r\n            &lt;adminhtml&gt;\r\n                &lt;args&gt;\r\n                    &lt;frontName&gt;&lt;![CDATA[admin]]&gt;&lt;\/frontName&gt;\r\n                &lt;\/args&gt;\r\n            &lt;\/adminhtml&gt;\r\n        &lt;\/routers&gt;\r\n    &lt;\/admin&gt;\r\n&lt;\/config&gt;\r\n<\/pre>\n<p>Clear all the cache and sessions:<\/p>\n<pre class=\"lang:default decode:true \">rm -rf \/var\/www\/html\/magento\/var\/session\/*\r\n\r\nrm -rf \/var\/www\/html\/magento\/var\/cache\/*<\/pre>\n<p>Or, log in to the Admin panel as an administrator,<\/p>\n<p>System &gt; Cache Management,<\/p>\n<p>and, click on &#8216;Flush Magento Cache&#8217;.<\/p>\n<p>Now, restart as,<\/p>\n<pre class=\"lang:default decode:true\">service redis-server restart<\/pre>\n<p>To check if Redis-server is working or not, Enter<\/p>\n<pre class=\"lang:default decode:true\">redis-cli ping\r\n<\/pre>\n<p>If result is,<\/p>\n<pre class=\"lang:default decode:true\">PONG<\/pre>\n<p>Then your server is responding.<\/p>\n<p>Also you can monitor all the traffic\u00a0 by,<\/p>\n<pre class=\"lang:default decode:true\">redis-cli monitor<\/pre>\n<p>then refresh the page. If you can see logs generating on your terminal, having random alphanumeric characters, then it means caching is working.<\/p>\n<p>You can also check if Redis-server is able to set keys or not,<\/p>\n<pre class=\"lang:default decode:true\">redis-cli\r\n\r\n127.0.0.1:6379&gt; set mykey KEY\r\nOK\r\n127.0.0.1:6379&gt; get mykey\r\n\"KEY\"\r\n127.0.0.1:6379&gt; exit\r\n<\/pre>\n<p>You can also use &#8216;info&#8217; command to get information and statistics about the server as,<\/p>\n<pre class=\"lang:default decode:true\">redis-cli info<\/pre>\n<p style=\"text-align: center\"><a href=\"http:\/\/cloudkul.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">&#8216;<\/a><\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/cloudkul.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">IN CASE OF ANY\u00a0QUERY, CONTACT US<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento supports many backend cache with the help of the Zend framework. Memcache and APC <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":7,"featured_media":1483,"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":[20,25],"tags":[77,78,76],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul<\/title>\n<meta name=\"description\" content=\"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.\" \/>\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\/configure-magento-1-9-x-with-redis-as-backend-cache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-14T13:12:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-14T11:33:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/10\/cloudkul.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=\"Alankrit Srivastava\" \/>\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\/configure-magento-1-9-x-with-redis-as-backend-cache\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/\",\"name\":\"Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2016-10-14T13:12:14+00:00\",\"dateModified\":\"2017-06-14T11:33:46+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/fc06bfd7f18d9a606dd94062d205af16\"},\"description\":\"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure Magento 1.9.x with Redis as Backend Cache\"}]},{\"@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\/fc06bfd7f18d9a606dd94062d205af16\",\"name\":\"Alankrit Srivastava\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/955c3dda2678272c436c5153832e401f?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/955c3dda2678272c436c5153832e401f?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Alankrit Srivastava\"},\"description\":\"DevOps Manager at Webkul Software Privated Limited\",\"sameAs\":[\"http:\/\/cloudkul.com\"],\"url\":\"https:\/\/cloudkul.com\/blog\/author\/alankrit-srivastava256\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul","description":"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.","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\/configure-magento-1-9-x-with-redis-as-backend-cache\/","og_locale":"en_US","og_type":"article","og_title":"Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul","og_description":"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.","og_url":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/","og_site_name":"Cloudkul","article_published_time":"2016-10-14T13:12:14+00:00","article_modified_time":"2017-06-14T11:33:46+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2016\/10\/cloudkul.png","type":"image\/png"}],"author":"Alankrit Srivastava","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/","url":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/","name":"Configure Magento 1.9.x with Redis as Backend Cache - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2016-10-14T13:12:14+00:00","dateModified":"2017-06-14T11:33:46+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/fc06bfd7f18d9a606dd94062d205af16"},"description":"Magento supports many backend cache with the help of the Zend framework. Memcache and APC are commonly used. However, Redis is rapidly becoming a popular and powerful cache system for Magento and other web applications.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/configure-magento-1-9-x-with-redis-as-backend-cache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Configure Magento 1.9.x with Redis as Backend Cache"}]},{"@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\/fc06bfd7f18d9a606dd94062d205af16","name":"Alankrit Srivastava","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/955c3dda2678272c436c5153832e401f?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/955c3dda2678272c436c5153832e401f?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Alankrit Srivastava"},"description":"DevOps Manager at Webkul Software Privated Limited","sameAs":["http:\/\/cloudkul.com"],"url":"https:\/\/cloudkul.com\/blog\/author\/alankrit-srivastava256\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/1473"}],"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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=1473"}],"version-history":[{"count":6,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/1473\/revisions"}],"predecessor-version":[{"id":2879,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/1473\/revisions\/2879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/1483"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=1473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=1473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=1473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}