#### 缓存配置 微擎系统支持三种缓存(mysql, memcache, file),默认是 mysql 缓存,同一时间只能启用其中一种。 配置缓存在系统 "data/config.php" 文件中,具体配置如下: ``` $config['setting']['cache'] = 'mysql'; // 还可以是memcache, file //如果开启了memcache后,还需要指定memcache的服务器及端口配置 // -------------------------- CONFIG MEMCACHE --------------------------- // $config['setting']['memcache']['server'] = ''; $config['setting']['memcache']['port'] = 11211; $config['setting']['memcache']['pconnect'] = 1; $config['setting']['memcache']['timeout'] = 30; $config['setting']['memcache']['session'] = 1; ```