{"id":6052,"date":"2026-06-29T10:18:25","date_gmt":"2026-06-29T07:18:25","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=6052"},"modified":"2026-06-29T10:18:25","modified_gmt":"2026-06-29T07:18:25","slug":"flush-restart-redis-cache","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/flush-restart-redis-cache\/","title":{"rendered":"How to Flush and Restart Redis Cache in SPanel"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>How to Flush and Restart Redis Cache in SPanel<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In SPanel, you flush or restart your account&#8217;s Redis cache from the R<strong>edis Cache<\/strong> section under <strong>Software<\/strong>, using the Flush Cache and Restart Redis controls &#8211; no SSH or root needed.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flush Cache clears the cached keys; Restart Redis restarts the per-account service. Both act on your whole per-account instance, not a single site&#8217;s keys, so expect a brief cold-cache slowdown right after. The live statistics on the same page let you confirm the effect.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Who this is for<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is for site owners and people running a managed VPS who have already deployed Redis and now need to clear it. The common cases: you pushed a deploy and the old cache is serving stale data, or the cache is misbehaving and you want a clean restart &#8211; done from the panel, without opening a shell.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What problem this solves<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A cache that should be helping you is suddenly the problem. After a deploy, Redis may keep handing back values that no longer match what is on disk, so visitors see old pages or stale API responses. Or the service drifts &#8211; memory fills, clients pile up, responses slow. You need a way to empty the cached keys or bounce the service, and to confirm it worked.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How SPanel solves this<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the Redis Cache page under <strong>Software &gt; Redis Cache<\/strong>. On a deployed instance with status ON\/Active, you get a small set of controls: <strong>Flush Cache<\/strong> (the offline_bolt icon), <strong>Restart Redis<\/strong> (the sync icon), and <strong>Pause<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flush Cache clears the cached keys for your account&#8217;s Redis instance &#8211; the data is gone and the next requests rebuild it. Restart Redis restarts the per-account service, clearing in-memory state and resetting connections. The same page shows live <strong>Statistics<\/strong> &#8211; memory use, connected clients, and hits\/misses &#8211; so after you act you can watch the numbers reset and climb back as traffic warms the cache. SPanel runs the operation against your instance; rebuilding the cache and clearing any single site&#8217;s keys is still your job.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why this is different in SPanel<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Two things stand out<\/strong>. First, Flush Cache and Restart Redis run straight from the panel, scoped to your own per-account instance &#8211; no SSH or root, and you cannot touch another account&#8217;s cache.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Second, the live Statistics sit on the same page as the controls, so you confirm a flush or restart on the spot: memory drops, hit\/miss counters reset, and you watch them recover.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Before you start<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confirm your <strong>Redis instance is deployed<\/strong> and shows status ON\/Active. If it is not deployed yet, deploy Redis first.<\/li>\n\n\n\n<li>You only need your <strong>normal SPanel user login<\/strong> &#8211; no root or SSH.<\/li>\n\n\n\n<li>Flush Cache is destructive: it empties all cached keys for the account. There is no undo, but the cache rebuilds from your application.<\/li>\n\n\n\n<li>Pick a <strong>low-traffic moment<\/strong> so the cold-cache dip affects fewer visitors.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step-by-step<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sign in to SPanel and go to <strong>Software > Redis Cache<\/strong>. Confirm the instance &#8211; for example, the deployed yoga Redis &#8211; shows status ON\/Active. You should see the Flush Cache, Restart Redis, and Pause controls along with the live Statistics.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/01-redis-controls-1024x640.webp\" alt=\"How to Flush and Restart Redis Cache in SPanel, Step-by-step\" class=\"wp-image-6053\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/01-redis-controls-1024x640.webp 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/01-redis-controls-300x188.webp 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/01-redis-controls-768x480.webp 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/01-redis-controls.webp 1440w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Decide which action you need. To clear stale data, use <strong>Flush Cache<\/strong>. To reset in-memory state and connections without deliberately wiping keys, use <strong>Restart Redis<\/strong>. After a deploy, flushing is usually the right call.<\/li>\n\n\n\n<li>Safety check before flushing: this empties every cached key for the account, not one site. Confirm you are on the correct account&#8217;s instance and that a brief slowdown is acceptable. When ready, click <strong>Flush Cache<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/02-flush-1024x640.webp\" alt=\"How to Flush and Restart Redis Cache in SPanel, Step-by-step 2\" class=\"wp-image-6054\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/02-flush-1024x640.webp 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/02-flush-300x188.webp 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/02-flush-768x480.webp 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2026\/06\/02-flush.webp 1440w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Watch the Statistics. Memory use should drop and the hits\/misses counters reset. As traffic returns, misses rise first while the cache is cold, then hits climb as it warms &#8211; that pattern confirms the flush worked.<\/li>\n\n\n\n<li>If you chose <em>Restart Redis<\/em> instead, click it and expect current connections to drop for a moment while the service comes back. The Statistics reset as it restarts.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What happens behind the scenes<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Flush Cache tells your account&#8217;s Redis instance to drop its keys; Restart Redis stops and starts the per-account service process. Both are scoped to your account alone, which is why you do not need root. Nothing on disk is deleted; Redis is a cache, so the source data lives in your database and files.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The safety property worth remembering<\/strong>: clearing the cache costs you a short rebuild, not your content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Limitations and edge cases<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Flushing clears everything for that account&#8217;s Redis.<\/strong> All cached keys go and the next requests rebuild them, so expect a brief performance dip while the cache is cold. What to do: flush during quieter traffic and let it warm up before judging speed.<\/li>\n\n\n\n<li><strong>Restart momentarily drops current connections.<\/strong> In-flight requests using Redis can be interrupted for a second or two. What to do: restart at a low-traffic moment and retry any failed request.<\/li>\n\n\n\n<li><strong>Flush and Restart act on the whole per-account instance, not one site&#8217;s keys.<\/strong> If several sites share this Redis, all of them lose their cache. What to do: clear a single site&#8217;s keys app-side &#8211; through its caching plugin or framework, or by deleting keys by prefix &#8211; rather than flushing the instance.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Troubleshooting<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-regular green-rows\"><table class=\"has-fixed-layout\"><tbody><tr><td>Symptom<\/td><td>Likely cause<\/td><td>What to do<\/td><\/tr><tr><td>No Flush Cache or Restart Redis buttons<\/td><td>Redis is not deployed or the instance is not ON\/Active<\/td><td>Deploy Redis first, then return to the page once status shows ON\/Active.<\/td><\/tr><tr><td>Site still serves stale content after a flush<\/td><td>The app is caching elsewhere (page cache, CDN, browser)<\/td><td>Clear the app or CDN cache too; Redis is only one layer.<\/td><\/tr><tr><td>Some requests error during a restart<\/td><td>Connections dropped while the service restarted<\/td><td>Retry the request; restart at a quieter time next time.<\/td><\/tr><tr><td>Flush emptied another site&#8217;s cache too<\/td><td>Multiple sites share one per-account instance<\/td><td>Use app-side or prefix-based clearing for a single site.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>When to use this \/ when not to use this<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-regular green-rows\"><table class=\"has-fixed-layout\"><tbody><tr><td>Use this when<\/td><td>Skip or use something else when<\/td><\/tr><tr><td>Stale data persists after a deploy<\/td><td>You only need to clear one site among several<\/td><\/tr><tr><td>The cache is misbehaving and needs a clean restart<\/td><td>A cold-cache dip would hurt during peak traffic<\/td><\/tr><tr><td>You lack SSH or root and need to act from the panel<\/td><td>You want to keep keys but tune the Redis memory eviction policy instead<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>FAQ<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Does flushing delete my site&#8217;s actual data?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> No. Redis holds cached copies; your real data stays in your database and files. A flush only forces the cache to rebuild.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q:<\/strong> <strong>Will a flush affect other sites on the account?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Yes, if they share the same per-account instance. Flush and Restart act on the whole instance, so clear a single site&#8217;s keys app-side or by prefix instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q:<\/strong> <strong>Do I need SSH or root to do this?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> No. Both controls run from the SPanel Redis Cache page using your normal user login, scoped to your own instance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q:<\/strong> <strong>What is the difference between Flush Cache and Restart Redis?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Flush Cache empties the cached keys but leaves the service running. Restart Redis bounces the service, resetting in-memory state and dropping current connections.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q:<\/strong> <strong>Why is my site slower right after flushing?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> The cache is cold and rebuilding from scratch, so early requests miss and take the slow path. Watch the Statistics; performance recovers as keys repopulate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q:<\/strong> <strong>Is there an undo for a flush?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> No. But because the cache is derived data, your application rebuilds it automatically on the next requests.<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n    {\n      \"@context\": \"https:\/\/schema.org\",\n      \"@type\": \"FAQPage\",\n      \"mainEntity\": [{\n        \"@type\": \"Question\",\n        \"name\": \"Does flushing delete my site's actual data?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"No. Redis holds cached copies; your real data stays in your database and files. A flush only forces the cache to rebuild.\"\n        }\n      }, {\n        \"@type\": \"Question\",\n        \"name\": \"Will a flush affect other sites on the account?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Yes, if they share the same per-account instance. Flush and Restart act on the whole instance, so clear a single site's keys app-side or by prefix instead.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Do I need SSH or root to do this?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"No. Both controls run from the SPanel Redis Cache page using your normal user login, scoped to your own instance.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"What is the difference between Flush Cache and Restart Redis?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Flush Cache empties the cached keys but leaves the service running. Restart Redis bounces the service, resetting in-memory state and dropping current connections.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Why is my site slower right after flushing?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"The cache is cold and rebuilding from scratch, so early requests miss and take the slow path. Watch the Statistics; performance recovers as keys repopulate.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Is there an undo for a flush?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"No. But because the cache is derived data, your application rebuilds it automatically on the next requests.\"\n        }\n      }]\n    }\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>How to Flush and Restart Redis Cache in SPanel In SPanel, you flush or restart your account&#8217;s Redis cache from the Redis Cache section under Software, using the Flush Cache and Restart Redis controls &#8211; no SSH or root needed.&nbsp; Flush Cache clears the cached keys; Restart Redis restarts the per-account service. Both act on [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_titles_title":"Flush & Restart Redis Cache in SPanel | ScalaHosting KB","_seopress_titles_desc":"Cleared stale data after a deploy? SPanel's Redis Cache screen has one-click Flush and Restart buttons - no support ticket needed. See how each works.","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"footnotes":""},"categories":[66],"tags":[],"class_list":["post-6052","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/6052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=6052"}],"version-history":[{"count":3,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/6052\/revisions"}],"predecessor-version":[{"id":6059,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/6052\/revisions\/6059"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=6052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=6052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=6052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}