Caching
Last updated
Was this helpful?
Last updated
Was this helpful?
Soketi has a caching layer built within. This allows you to speed up some processes like app retrievals or to use it as a centralized storage for read-write intensive tasks.
Currently, the caching system is used to cache app retrievals (if enabled) or store the cache for Cached Channels when scaling across multiple nodes.
SOKETI_CACHE_DRIVER
memory
memory
, redis
The caching driver.
CACHE_REDIS_CLUSTER_MODE
false
false
, true
Enable this if you run Redis in Cluster mode. .