*/ public $file = [ 'storePath' => WRITEPATH . 'cache/', 'mode' => 0640, ]; /** * ------------------------------------------------------------------------- * Memcached settings * ------------------------------------------------------------------------- * Your Memcached servers can be specified below, if you are using * the Memcached drivers. * * @see https://codeigniter.com/user_guide/libraries/caching.html#memcached * * @var array */ public $memcached = [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 1, 'raw' => false, ]; /** * ------------------------------------------------------------------------- * Redis settings * ------------------------------------------------------------------------- * Your Redis server can be specified below, if you are using * the Redis or Predis drivers. * * @var array */ public $redis2 = [ 'host' => '10.0.0.112', 'password' => 'adae59706edf22f9f61180578cd16cc2038703c7230ae012e3c783ace1d09d64', 'port' => 6379, 'timeout' => 0, 'database' => 0, ]; public $redis = [ 'host' => '10.0.0.32', 'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5', 'port' => 6378, 'timeout' => 0, 'database' => 0, ]; /** * -------------------------------------------------------------------------- * Available Cache Handlers * -------------------------------------------------------------------------- * * This is an array of cache engine alias' and class names. Only engines * that are listed here are allowed to be used. * * @var array */ public $validHandlers = [ 'dummy' => DummyHandler::class, 'file' => FileHandler::class, 'memcached' => MemcachedHandler::class, 'predis' => PredisHandler::class, 'redis' => RedisHandler::class, 'wincache' => WincacheHandler::class, ]; }