# Configuring PrestaShop to use Redis

> Speed up your PrestaShop store by connecting it to Redis through a caching module once Redis is available on your account.

Source: https://helpcenter.ruachost.com/apps/prestashop/configuring-prestashop-to-use-redis/

**Redis** is an open‑source memory object caching system that stores frequently accessed data in RAM. This helps accelerate page load times and improve overall performance. On **ruachost.com**, you can configure PrestaShop to use Redis once it is enabled on your hosting account.

## Why Use Redis?

- Speeds up database queries by caching results.
- Reduces server load and improves scalability.
- Enhances customer experience with faster page loads.

## Steps to Configure PrestaShop with Redis

### Step 1: Ensure Redis is Available

- On **Managed VPS/Dedicated Servers** → Redis is usually pre‑installed. Confirm it is enabled in your hosting panel.
- On **shared hosting accounts where Redis is enabled** → Redis is available via a socket (`/home/username/.redis/redis.sock`).
- On **Unmanaged VPS** → Install Redis manually via SSH.
- Redis is not available on every shared hosting plan. [Contact Ruachost support](https://dashboard.ruachost.com/submitticket.php) to confirm availability for your account.

### Step 2: Install a Redis Integration Module

1. Download a Redis integration module for PrestaShop (several are available in the PrestaShop Addons Marketplace).
2. Log in to your PrestaShop admin panel.
3. Go to **Modules → Module Manager → Upload a module**.
4. Upload and install the Redis module.

### Step 3: Configure the Module

- For **Managed VPS/Dedicated Servers**:

  - Hostname: `localhost`
  - Port: `6379` (default Redis port)
- For **shared hosting accounts**:

  - Socket path: `/home/username/.redis/redis.sock`
- Save the configuration.

✅ PrestaShop will now use Redis to cache data and improve performance.

## Important Notes

- Always back up your site before installing new modules.
- Test your site after enabling Redis to ensure compatibility with modules and themes.
- If issues occur, disable Redis temporarily and troubleshoot.
- For more information, visit <https://redis.io/>
