Skip to content

Overview

The Light Store makes heavy use of Caching, for example for settings, user carts and much more.

Setting up Redis or Memcached will greatly improve performance in those circumstances.

WARNING

If you're using the Docker configuration set up in the Docker guide you already have redis set up and do not have to do anything else. This only applies if you're installing this store manually or want to switch out the caching driver.

Choosing a driver

You have a choice of 3 cache drivers:

  • "database" - default for manual installations; uses database as the caching layer. No benefit to performance.
  • "redis" - use Redis
  • "memcached" - use Memcached

Redis is recommended due to its popularity and ease of installation.

Installing

For Redis, follow the Redis installation guide.

For Memcached, follow the Memcached installation guide.