Redis is an open‑source memory object caching system that stores frequently accessed data in RAM. By integrating Redis with Joomla, you can significantly improve site performance and reduce database load. On ruachost.com, Redis is supported on Turbo shared hosting, Turbo reseller, Managed VPS, and Managed Dedicated servers.

 

Why Use Redis with Joomla?

  • Accelerates page load times by caching database queries and API calls.

  • Reduces server resource usage.

  • Improves scalability for high‑traffic Joomla sites.

  • Provides persistent caching across sessions.

 

Prerequisites

  • A hosting plan that supports Redis (Turbo shared, Turbo reseller, Managed VPS, or Managed Dedicated).

  • Redis service enabled on your server.

  • Joomla version 4 or later recommended.

 

Steps to Enable Redis in Joomla

Step 1: Log in to Joomla

  1. Log in to your Joomla site as the administrator.

  2. In the left sidebar, click System.

  3. Under Setup, click Global Configuration.

 

Step 2: Configure Redis Session Handler

  1. Click the System tab.

  2. In the Session section, locate Session Handler.

  3. Select Redis from the dropdown list.

  4. Configure Redis connection settings:

    • Redis Server Host/Sock →

      • For Managed VPS/Dedicated: localhost

      • For Turbo shared/reseller: /home/username/.redis/redis.sock (replace username with your hosting account username)

    • Redis Server Port → 6379

  5. Click Save & Close.

 

Step 3: Verify Redis Integration

  • Clear Joomla cache.

  • Test site performance and confirm sessions are stored in Redis.

  • If Redis is not working, check server logs or Contact us.

 

Important Notes

  • Redis is not supported on non‑Turbo shared hosting accounts.

  • Always back up your site before making configuration changes.

  • For unmanaged VPS accounts, you must install and configure Redis manually.

  • Redis can also be used for object caching in addition to session handling.

Răspunsul a fost util? 0 utilizatori au considerat informația utilă (0 Voturi)

Powered by WHMCompleteSolution