CodeIgniter缓存 - 系统或应用程序
Confused.
https://www.codeigniter.com/user_guide/general/caching.html
says caches are created in application/cache
.
But, in the system config.php
it says the default cache is in system/cache/
.
/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/cache/ folder. Use a full server path with trailing slash.
|
*/
Which, if any, does CI use?
困惑。 p>
https://www.codeigniter.com/user_guide/general/caching.html p>
说缓存是在 但是,在系统 CI使用哪个(如果有的话)? p>
DIV> application / cache code>中创建的。 p>
config.php code>中它表示默认缓存在 系统/高速缓存/ 代码> p>
/ * \ N | ------------------- -------------------------------------------------- -----
| 缓存目录路径
| -------------------------------------------- ------------------------------
|
| 除非您想设置默认值
|以外的其他内容,否则请保留此BLANK system / cache /文件夹。 使用带有尾部斜杠的完整服务器路径。
|
* /
code> pre>
application/cache
is correct. It was changed to application/cache
from system/cache
in 2.0.0 according to the change log. The comments just weren't updated.