> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.xynta.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Enabling Redis Caching

||| ℹ️ **Important:** This article applies to our Web and Reseller Hosting packages.
---

* [Enabling Redis caching](#3-enabling-redis-caching)
* [Flushing Redis databases via SSH](#3-flushing-redis-databases-via-ssh)
* [Instructional Video](#3-instructional-video)
---

### Enabling Redis caching

1. Log in to `https://voorbeeld.cc:2222` (or use [Single Sign-On (SSO)](/en/article/logging-in-to-hosting-package-via-single-sign-on-sso-1biycbb/)).
2. Under **Advanced Features**, click **Redis**.
3. Use the **toggle** on the page to enable Redis. *(By default, Redis is disabled.)*

| 📌 **Tip:**

* Ensure the **PHP Redis** module is enabled.
  (More info: [Changing PHP settings](/en/article/modify-php-settings-18bvjan/))
---

### Flushing Redis databases via SSH

* To **flush all Redis databases**:

```
redis-cli -s /home/[user]/.redis/redis.sock FLUSHALL
```

*(Replace [user] with your hosting account username.)*

* To **flush a specific database**:

```
redis-cli -n [db] -s /home/[user]/.redis/redis.sock FLUSHDB
```

*(Replace [user] with your hosting account username and [db] with the database number (1-15).)*

||| **ℹ️ Reminder:** Replace voorbeeld.cc with your actual domain name in this guide.
---

### 🎦 Instructional Video

${youtube}[](XoIkvBT7l9o)