Now I just starting using codeigniter as framework. I have a lot of data will be saved on database. I read more on caching system of codeigniter. And I found that there is two types of caching on it DATABASE CACHING & WEB PAGE CACHING. My Question here is, When must I use database caching ? And when must I use web-page caching?
1条回答 默认 最新
- douao2019 2016-11-19 10:13关注
Let me put a quote from the docs,
Unfortunately there is no single answer to the question of whether you should cache your database. It really depends on your situation.
That also aligns with my suggestion to you. Look at both, Database Caching and Web Page Caching as two mechanisms on your disposal when there's a specific performance problem to solve. Then consider them both, how they fit in and base your pick on that.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 (标签-STM32|关键词-智能小车)
- ¥20 关于#stm32#的问题,请各位专家解答!
- ¥15 (标签-python)
- ¥15 第一个已完成,求第二个做法
- ¥20 搭建awx,试了很多版本都有错
- ¥15 java corba的客户端该如何指定使用本地某个固定IP去连接服务端?
- ¥15 activiti工作流问题,求解答
- ¥15 有人写过RPA后台管理系统么?
- ¥15 Bioage计算生物学年龄
- ¥20 如何将FPGA Alveo U50恢复原来出厂设置哇?