Cache Layer
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.
Choosing a driver
You have a choice of 3 cache drivers:
- “database” - default for manual installations; uses database as the caching layer. No huge 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.