Redis Cache

Applies to: Jamroom 7.0+ Last verified: 2026-10-24
  • What it does

    Redis Cache stores Jamroom's data cache, and optionally user sessions, in a Redis server instead of the MySQL database. On busy sites this takes load off the database and speeds up pages.

    ACP > Modules > Site > Redis Cache

  • Before you start

    • A Redis server must be running, on the same server or another one.
    • PHP needs the redis extension. Without it, the site shows a "Class 'Redis' not found" error. On Ubuntu, install it with sudo apt-get install php-redis. On shared hosting, ask your host.
  • Setting it up

    1. On the Server Browser tab, add your Redis server: its Hostname / IP Address, Port (Redis uses 6379 by default) and Password, if it has one. Check Cache Support, and Session Support if you want sessions in Redis too.
    2. In ACP > Modules > Core > System Core > Global Config, under Caching, set Active Data Cache to Redis Data Cache.
    3. Optionally, in ACP > Modules > Users > Users > Global Config, under Sessions, set Active Session System to Redis Sessions.

    Server Stats shows the Redis server's runtime information.

  • Global Config

    Setting What it does
    Connect Timeout How long to wait for the Redis server to answer (default 0.5 seconds)
    Core Fallback Enabled If Redis is down, uses the database for the cache and sessions instead (default: on)
    Single Site Enabled Turn on if this is the only Jamroom site using this Redis server. It speeds up clearing the cache. (Default: off)

Tags