{"id":382746,"date":"2023-05-22T05:21:19","date_gmt":"2023-05-22T05:21:19","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=382746"},"modified":"2026-04-06T10:25:45","modified_gmt":"2026-04-06T10:25:45","slug":"magento2-redis-cache-configuration","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/","title":{"rendered":"How to configure Redis Cache in Magento 2"},"content":{"rendered":"\n<p>You can configure Magento Redis cache to handle page caching and backend data efficiently, improving store speed in Magento 2.<\/p>\n\n\n\n<p>Magento 2 offers command-line options for configuring Redis page and default caching, which is the preferred method for initial setups in <a href=\"https:\/\/webkul.com\/blog\/caching-in-magento2adobe-commerce-tips-and-tricks\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Caching<\/a>.<\/p>\n\n\n\n<p>Although you can edit the <code>&lt;Commerce-install-dir&gt;app\/etc\/env.php<\/code> file to configure caching, using the command line ensures better syntax validation and accuracy.<\/p>\n\n\n\n<p><strong>Before you begin<\/strong>, ensure that <a href=\"https:\/\/webkul.com\/blog\/what-is-redis-its-capabilities-and-features\/\">Redis<\/a> is installed on your server to avoid configuration issues.<\/p>\n\n\n\n<p>Now that Redis is installed, the next step is to configure it for Magento 2. After that, we will verify whether the cache is working correctly.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" width=\"1920\" controls style=\"aspect-ratio: 1920 \/ 1080;width:100%; max-width:800px; height:auto;\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-page-cache-in-magento2-6.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Redis configuration for page-cache<\/strong><\/h2>\n\n\n\n<p>Run the <strong>setup:config:set<\/strong> command and specify parameters for Redis page-cache<br>configuration.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bin\/magento setup:config:set --cache-backend=redis --cache-backend-redis-&lt;parameter&gt;=&lt;value&gt;...<\/pre>\n\n\n\n<p><strong>Below are the following parameters<\/strong>, along with their default values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><kbd><strong>--page-cache-redis-server=127.0.0.1<\/strong><\/kbd>: Specifies the fully qualified hostname, IP address, or a UNIX socket path for the Redis server. The default <code>127.0.0.1<\/code> assumes Redis is installed on the same server as Magento 2.<\/li>\n\n\n\n<li><kbd><strong>--page-cache-redis-port=6379<\/strong><\/kbd>: Defines the port Redis listens on, with the default being <code>6379<\/code>.<\/li>\n\n\n\n<li><kbd><strong>--page-cache-redis-db=0<\/strong><\/kbd>: When using Redis for multiple cache types (e.g., default cache, page cache, session storage), assign a database 0 for the default cache, <code>1<\/code> for page cache, and <code>2<\/code> for session storage.<\/li>\n\n\n\n<li><kbd><strong>--page-cache-redis-password=<\/strong><\/kbd>: Enables a Redis password for added security.<\/li>\n\n\n\n<li><strong><kbd>--page-cache-redis-compress-data=0<\/kbd><\/strong>: Enables data compression for page cache (default: 1)<\/li>\n\n\n\n<li><strong><kbd>--page-cache-redis-compression-lib=<\/kbd><\/strong>: Compression library to use (gzip, lzf, or none; default: gzip)<\/li>\n\n\n\n<li><strong><kbd>--page-cache-redis-use-cluster<\/kbd><\/strong>: Enable Redis cluster support (default: 0)<\/li>\n<\/ul>\n\n\n\n<p><strong>Example command<\/strong><\/p>\n\n\n\n<p>The following example enables Redis page caching, sets the host to 127.0.0.1, and assigns the database number to 1. All other parameters are set to the default value.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bin\/magento setup:config:set --page-cache=redis --page-cache-redis-server=127.0.0.1 --page-cache-redis-db=1<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Results<\/strong><\/h2>\n\n\n\n<p>After running these commands, Magento 2 adds con\ufb01guration to app\/etc\/env.php \ufb01le.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&#039;cache&#039; =&gt; &#091;\n        &#039;graphql&#039; =&gt; &#091;\n            &#039;id_salt&#039; =&gt; &#039;VNZ0EJI6NJ4hcnWz4Tf900KHXsR0SdrV&#039;\n        ],\n        &#039;frontend&#039; =&gt; &#091;\n            &#039;default&#039; =&gt; &#091;\n                &#039;id_prefix&#039; =&gt; &#039;69d_&#039;\n            ],\n            &#039;page_cache&#039; =&gt; &#091;\n                &#039;id_prefix&#039; =&gt; &#039;69d_&#039;,\n                &#039;backend&#039; =&gt; &#039;Magento\\\\Framework\\\\Cache\\\\Backend\\\\Redis&#039;, \/\/ The Redis \n                &#039;backend_options&#039; =&gt; &#091;\n                    &#039;server&#039; =&gt; &#039;127.0.0.1&#039;, \/\/ Your Redis server IP\n                    &#039;database&#039; =&gt; &#039;1&#039;, \/\/ Redis database for default\n                    &#039;port&#039; =&gt; &#039;6379&#039;, \/\/ Your Redis server port\n                    &#039;password&#039; =&gt; &#039;&#039;, &#039;your-redis-password&#039;, \/\/ Uncomment and set if you have a password\n                    &#039;compress_data&#039; =&gt; &#039;0&#039;,\n                    &#039;compression_lib&#039; =&gt; &#039;&#039;\n                ]\n            ]\n        ],\n        &#039;allow_parallel_generation&#039; =&gt; false\n    ],<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Verify Redis connection<\/strong><\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\">redis-cli monitor<\/pre>\n\n\n\n<p>Sample page-caching output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"644\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp\" alt=\"redis-monitor-output\" class=\"wp-image-523873\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-300x161.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-250x134.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-768x412.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output.webp 1531w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>It monitors command logs for every processed command on Redis.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">redis-cli ping<\/pre>\n\n\n\n<p>The ping command responds with PONG.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Verify Magento Redis Configuration<\/strong><\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\">bin\/magento cache:status<\/pre>\n\n\n\n<p><strong>As a result<\/strong>, this command displays the status of all cache types and confirms whether Redis is being used.<\/p>\n\n\n\n<p><strong>Redis Performance Tuning<br><\/strong>To achieve optimal performance with Redis in Magento 2, it is important to:<\/p>\n\n\n\n<p>1. Configure Redis persistence settings in redis.conf:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">save 900 1\nsave 300 10\nsave 60 10000<\/pre>\n\n\n\n<p>2. Set max memory policy:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">maxmemory 2gb\nmaxmemory-policy allkeys-lru<\/pre>\n\n\n\n<p>3. Enable AOF persistence for better durability:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">appendonly yes\nappendfsync everysec<\/pre>\n\n\n\n<p>For high-traffic sites, consider Redis Sentinel or Redis Cluster for high availability.<\/p>\n\n\n\n<p>This is how to configure Redis Cache in Magento 2.<\/p>\n\n\n\n<p>Reference <a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/configuration-guide\/cache\/redis\/redis-pg-cache\" rel=\"nofollow\">Redis Magento 2 doc<\/a><\/p>\n\n\n\n<p>If you require technical support, feel free to email us at&nbsp;<a href=\"mailto:support@webkul.com\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p>Additionally, explore a wide array of solutions to boost your store\u2019s capabilities by visiting the&nbsp;<a href=\"https:\/\/store.webkul.com\/Magento-2.html\">Adobe Commerce modules&nbsp;<\/a>section.<\/p>\n\n\n\n<p>For expert advice or to create tailored features,&nbsp;<a href=\"https:\/\/webkul.com\/hire-magento-developers\/\">hire Adobe Commerce Developers<\/a>&nbsp;for your project.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can configure Magento Redis cache to handle page caching and backend data efficiently, improving store speed in Magento 2. Magento 2 offers command-line options for configuring Redis page and default caching, which is the preferred method for initial setups in Magento 2 Caching. Although you can edit the &lt;Commerce-install-dir&gt;app\/etc\/env.php file to configure caching, using <a href=\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":366,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13710,9121],"tags":[3355,2070,5282],"class_list":["post-382746","post","type-post","status-publish","format-standard","hentry","category-caching","category-magento-2","tag-caching","tag-magento2","tag-redis-cache"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure Redis Cache in Magento 2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure Redis Cache in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-22T05:21:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-06T10:25:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp\" \/>\n<meta name=\"author\" content=\"Divya Prakash\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Divya Prakash\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\"},\"author\":{\"name\":\"Divya Prakash\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98\"},\"headline\":\"How to configure Redis Cache in Magento 2\",\"datePublished\":\"2023-05-22T05:21:19+00:00\",\"dateModified\":\"2026-04-06T10:25:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\"},\"wordCount\":435,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp\",\"keywords\":[\"caching\",\"Magento2\",\"redis cache\"],\"articleSection\":[\"Caching\",\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\",\"url\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\",\"name\":\"How to configure Redis Cache in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp\",\"datePublished\":\"2023-05-22T05:21:19+00:00\",\"dateModified\":\"2026-04-06T10:25:45+00:00\",\"description\":\"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output.webp\",\"width\":1531,\"height\":822},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure Redis Cache in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98\",\"name\":\"Divya Prakash\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Divya Prakash\"},\"description\":\"Divya Prakash, a talented Software Engineer, specializes in Magento development, delivering custom eCommerce solutions. Expertise in optimizing performance, integrating advanced features, and enhancing user experience drives innovation and business growth.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/divya-prakash407\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure Redis Cache in Magento 2 - Webkul Blog","description":"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.","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:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/","og_locale":"en_US","og_type":"article","og_title":"How to configure Redis Cache in Magento 2 - Webkul Blog","og_description":"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.","og_url":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-05-22T05:21:19+00:00","article_modified_time":"2026-04-06T10:25:45+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp","type":"","width":"","height":""}],"author":"Divya Prakash","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Divya Prakash","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/"},"author":{"name":"Divya Prakash","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98"},"headline":"How to configure Redis Cache in Magento 2","datePublished":"2023-05-22T05:21:19+00:00","dateModified":"2026-04-06T10:25:45+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/"},"wordCount":435,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp","keywords":["caching","Magento2","redis cache"],"articleSection":["Caching","Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/","url":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/","name":"How to configure Redis Cache in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output-1200x644.webp","datePublished":"2023-05-22T05:21:19+00:00","dateModified":"2026-04-06T10:25:45+00:00","description":"Learn how to configure Redis cache in Magento 2 to improve performance, reduce server load, and optimize page caching step by step.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/redis-monitor-output.webp","width":1531,"height":822},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/magento2-redis-cache-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure Redis Cache in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/144f9781b7aee2d1d0fbfde8fb012a98","name":"Divya Prakash","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/737cd8c75620933a3158331d9c0152fbb05f9b4ba40ccd0c12ebe84c657a24f6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Divya Prakash"},"description":"Divya Prakash, a talented Software Engineer, specializes in Magento development, delivering custom eCommerce solutions. Expertise in optimizing performance, integrating advanced features, and enhancing user experience drives innovation and business growth.","url":"https:\/\/webkul.com\/blog\/author\/divya-prakash407\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/382746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=382746"}],"version-history":[{"count":47,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/382746\/revisions"}],"predecessor-version":[{"id":534269,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/382746\/revisions\/534269"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=382746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=382746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=382746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}