php - How to add prefix to redis in ci framework? What is a configuration file?
巴扎黑
巴扎黑 2017-05-16 12:03:03
0
1
450

It’s best to give an example

巴扎黑
巴扎黑

reply all(1)
阿神

You can set the key_prefix parameter to add a prefix to the cache name.
$this->load->driver('cache',

array('adapter' => 'apc', 'backup' => 'file', 'key_prefix' => 'my_')

);
Reference documentation: https://codeigniter.org.cn/us...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template