{"id":565,"date":"2025-05-29T04:14:17","date_gmt":"2025-05-29T02:14:17","guid":{"rendered":"https:\/\/hostup.se\/en\/support\/?p=565"},"modified":"2025-06-16T00:26:16","modified_gmt":"2025-06-15T22:26:16","slug":"redis-cache-for-object-caching","status":"publish","type":"post","link":"https:\/\/hostup.se\/en\/support\/redis-cache-for-object-caching\/","title":{"rendered":"Redis Cache for object caching in WordPress in your cPanel"},"content":{"rendered":"\n<p>Getting started with Redis on your web hosting is easy and reliable. <br>Follow the steps below to enable Redis and connect it to your WordPress installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Log_in_to_the_control_panel\"><\/span>Log in to the control panel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Start by logging in to your cPanel. You can do this by navigating to yourdomain.com\/cpanel.<\/p>\n\n\n\n<p>Navigate to <strong>Redis Socket<\/strong> under the <em><em>HostUp Features<\/em><\/em> category. There you will find your unique socket path \u2013 save this if you want to use Redis in other applications.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"169\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis-1024x169.png\" alt=\"\" class=\"wp-image-587\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis-1024x169.png 1024w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis-300x49.png 300w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis-768x127.png 768w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis-1536x253.png 1536w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/cpanel-redis.png 1758w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Start_Redis\"><\/span>Start Redis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Click the <strong>Start Redis<\/strong> button.<\/p>\n\n\n\n<p>Once Redis is running, a cronjob script will automatically be added in the background to ensure that Redis starts up again automatically in case it is unintentionally shut down.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"786\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/start-redis-1024x786.png\" alt=\"\" class=\"wp-image-567\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/start-redis-1024x786.png 1024w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/start-redis-300x230.png 300w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/start-redis-768x590.png 768w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/start-redis.png 1360w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Activate_Redis_Object_Cache_for_WordPress\"><\/span>Activate Redis Object Cache for WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Start by <strong>scrolling down to the &#8220;WordPress Integration&#8221; section<\/strong> and select which WordPress installation you want to enable Object Cache for in the dropdown menu.<\/p>\n\n\n\n<p>Then first press the &#8216;<strong>wp-config.php<\/strong>&#8216; button and then the &#8216;<strong>Install &amp; activate plugin<\/strong>&#8216; button as shown in the image below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"901\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/redis-wordpress-integration-wizzard-1024x901.png\" alt=\"\" class=\"wp-image-568\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/redis-wordpress-integration-wizzard-1024x901.png 1024w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/redis-wordpress-integration-wizzard-300x264.png 300w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/redis-wordpress-integration-wizzard-768x676.png 768w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2025\/05\/redis-wordpress-integration-wizzard.png 1354w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Well done, everything is set and your WordPress installation now has Redis Cache! The plugin installed on your website and configured is <a href=\"https:\/\/wordpress.org\/plugins\/redis-cache\/\" target=\"_blank\" rel=\"noopener\">Redis Object Cache<\/a>.<\/p>\n\n\n\n<p>For other software that is not WordPress, you can certainly use Redis as well, but you will need to configure it manually. Check the documentation on how to do it \u2013 all you really need to know is your Redis socket path, which is at the top of the first image!<\/p>\n\r\n\t\t\t<div id=\"daexthefu-container\"\r\n\t\t\t\tclass=\"daexthefu-container daexthefu-layout-side-by-side daexthefu-alignment-left\"\r\n\t\t\t\tdata-post-id=\"565\">\r\n\r\n\t\t\t\t<div class=\"daexthefu-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefu-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefu-title\">Was this article helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefu-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefu-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-yes daexthefu-button daexthefu-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.happy-face-cls-1{fill:#c9c9c9;}.happy-face-cls-2{fill:#e1e1e1;}.happy-face-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"happy_face\">\r\n                        <circle class=\"happy-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"happy-face-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" d=\"m16.79,29c-1.19,0-1.89,1.31-1.25,2.32,1.77,2.81,4.9,4.68,8.47,4.68s6.7-1.87,8.47-4.68c.63-1.01-.06-2.32-1.25-2.32-3.67,0-10.76,0-14.43,0Z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-no daexthefu-button daexthefu-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>\r\n                            .sad-face-cls-1{fill:#c9c9c9;}.sad-face-cls-2{fill:#676767;}.sad-face-cls-3{fill:#e1e1e1;}.sad-face-cls-4{fill:#676767;}\r\n                        <\/style>\r\n                    <\/defs>\r\n                    <g id=\"sad_face\">\r\n                        <circle class=\"sad-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"sad-face-cls-3 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"sad-face-cls-2 daexthefu-icon-secondary-color\" d=\"M16.9,34.5c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1c2.2-2.2,5.1-3.4,8.1-3.4c3.1,0,6,1.2,8.1,3.4\r\n                        c0.6,0.6,0.6,1.5,0,2.1s-1.5,0.6-2.1,0c-1.6-1.6-3.7-2.5-6-2.5s-4.4,0.9-6,2.5C17.7,34.4,17.3,34.5,16.9,34.5z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-comment\">\r\n\t\t\t\t\t<div class=\"daexthefu-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefu-comment-label\" class=\"daexthefu-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefu-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefu-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefu-comment-textarea\" class=\"daexthefu-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Skriv ditt meddelande\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefu-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-submit daexthefu-button\">Skicka in<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-cancel daexthefu-button\">Avbryt<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-successful-submission-text\">Tack f\u00f6r din feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>Getting started with Redis on your web hosting is easy and reliable. Follow the steps below to enable Redis and connect it to your WordPress installation. Log in to the control panel Start by logging in to your cPanel. You can do this by navigating to yourdomain.com\/cpanel. Navigate to Redis Socket under the HostUp Features [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-565","post","type-post","status-publish","format-standard","hentry","category-webbhotell"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/comments?post=565"}],"version-history":[{"count":3,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/565\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/565\/revisions\/588"}],"wp:attachment":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/media?parent=565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/categories?post=565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/tags?post=565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}