Redis is an open‑source, in‑memory data store that can be used as a caching system to accelerate Magento performance. By storing frequently accessed data in RAM, Redis reduces database queries and speeds up page loads. On ruachost.com, Redis is available only on Turbo Shared Hosting accounts.

 

Why Use Redis with Magento?

  • Faster page load times by caching sessions, API calls, and database queries
  • Reduced server load and improved scalability
  • Enhanced customer experience with smoother navigation

 

Steps to Configure Magento with Redis (Turbo Shared Hosting)

Step 1: Confirm Redis Availability

    • Redis is supported on Turbo Shared Hosting accounts via a socket:
Bash

/home/username/.redis/redis.sock​

Redis is not supported on standard (non‑Turbo) shared hosting accounts.

Step 2: Configure Magento 2 to Use Redis
Log in to your hosting account via SSH and navigate to your Magento installation directory:

Run the following commands (replace with your account username):

If prompted to overwrite existing configuration, type y and press Enter.
✅ Redis is now enabled for Magento on your Turbo Shared Hosting account.

Step 3: Verify Redis Integration

      • Clear Magento cache:

    Bash
    
    bin/magento cache:flush
    

 

 

  • Test your site’s performance
  • Check Redis logs to confirm caching activity

 

 

Important Notes

  • Always back up your site before making configuration changes
  • Redis must be installed and running on the server before Magento can use it
  • If issues occur, disable Redis temporarily and troubleshoot
  • For more details, see the official Magento Redis documentation
Var dette svaret til hjelp? 0 brukere syntes dette svaret var til hjelp (0 Stemmer)

Powered by WHMCompleteSolution