How does Redis or Memcache(d) works with Joomla?

Socket Path

At first you have to create a cache pool with a socket path. With this path you have the possibility to configure your Joomla. Please use this link for help.

Redis:

Log into your joomla backend and navigate to [System] --> [Global Configuration] --> [System]. Please set the following configuration at the section "Cache Settings":

  • Cache: On - conservative Caching
  • Cache-Handler: Redis
  • Platform Specific Caching: No
  • Cache Time: 15
  • Persistent Redis: Yes
  • Redis Server Host: {YOUR_SOCKET_PATH}
  • Redis Server Port: 6379
  • Redis Server Authentication: leave empty
  • Redis Database: 0

{YOUR_SOCKET_PATH} should be replaced by the socket path in your controlpanel at [Web Hosting] on the submenu [Caching].

Memcache(d):

Log into your joomla backend and navigate to [System] then to [Global Configuration] and click on [System]. Please set the following configuration at the section "Cache Settings":

  • Cache: On - conservative Caching
  • Cache-Handler: Memcached (Experimentell)
  • Platform Specific Caching: No
  • Cache Time: 15
  • Persistent Memcached: Yes
  • Memcached Compression: No
  • Memcached Server: {YOUR_SOCKET_PATH}
  • Memcached Port: 11211

{YOUR_SOCKET_PATH} should be replaced by the socket path in your controlpanel at [Web Hosting] on the submenu [Caching].

Comentarios sobre el artículo: