1. Home
  2. Performance
  3. How to Enable Memcached or Redis on Joomla! with LiteSpeed Cache
  1. Home
  2. CMS/Applications
  3. How to Enable Memcached or Redis on Joomla! with LiteSpeed Cache

How to Enable Memcached or Redis on Joomla! with LiteSpeed Cache

In this article, we will look at how to enable Memcached or Redis on Joomla! with LiteSpeed Cache.

Note: The glossary contains explanations on a wide range of subjects and can be consulted to clarify certain terms.

Prerequisites

Enter the following address in your web browserhttps://mg.n0c.com/en/.

Procedure

The procedure is similar for Memcached and Redis.

  1. Activate Memcached or Redis, as appropriate, as explained in How to use Memcached and How to use Redis articles respectively.
  2. Take note of the path to the Linux socket to establish the link between Memcached or Redis and your web application (path /home/USERN0C/.memcached/memcached.sock for Memcached, or /home/USERN0C/.redis/redis.sock for Redis):
  1. Log in to your Joomla! dashboard and navigate in the left-hand menu to System -> Global Configuration -> CACHE:
  1. Provide the requested information:
  • System Cache: choose ON Conservative or Progressive.
  • Cache Handler: Redis (recommended) or Memcached (experimental).
  • Platform Specific Caching : NO.
  • Cache Time (Minutes): 15.
  • Persistent Cache: YES.
  • Redis Server Host/Sock: enter path noted in step 2 (for Redis, /home/USERN0C/.redis/redis.sock).
  • Redis Server Port: 0.
  • Leave Redis Server Authentication and Redis Database blank.
  1. Click on the Save & Close button in the top left-hand corner.
  2. Once you have done this, you have activated Redis or Memcached in LiteSpeed Cache for Joomla!
Updated on December 2, 2024

Related Articles