Skip to content

Redis Overview

The Stratus Redis services are accessible directly via SSH:

redis-cli -h redis -p 6379
redis-cli -h redis-config-cache -p 6381
redis-cli -h redis-session -p 6380

From there you can run normal Redis commands, such as selecting the DB, showinfo, and so on.   See https://redis.io/commands

We recommend Redis be used for all caches on Mojo Stratus (with exception to Varnish for the Magento 2 FPC).

Redis FPC (Full Page Cache)

Redis for FPC caching is on by default.

hostname: redis port: 6379

To view: redis-cli -h redis info | tail -4

Redis Cache

You can enable/disable the redis config cache container under Redis->Config Cache

hostname: redis-config-cache port: 6381

To view: redis-cli -h redis-config-cache -p 6381 info | tail -3

Redis Sessions

You can enable/disable the redis session container under Redis->Session

hostname: redis-session port: 6380

To view: redis-cli -h redis-session info | tail -4

Via our panel, you can flush the Redis cache or via CLI.

  1. Expand the appropriate Redis section from the management panel menu.
  2. Click Info
  3. On the new screen, click the Flush Cache button to clear Redis databases of their key values pairs. flush redis-100