首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在CodeIgniter缓存查询的改进方法

在CodeIgniter缓存查询的改进方法

  • 资源大小:33.12 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 缓存 codeigniter 方法 改进 查询

资 源 简 介

Introduction The way CodeIgniter does Query Caching (namely Controller-based caching) works fine with small and decentralized pages where all controllers are pretty much independent. But as soon as you have a model that’s shared by a handful of controllers, you end up with a big mess. Just take a model for generating the data for a tag cloud that’s displayed on every page. You would end up with dozens of duplicates and handling those caches would suck as hell. See this topic for discussion: http://codeigniter.com/forums/viewthread/78146/ I got pretty sick of this and thus I of re-wrote pretty much CI’s entire caching storage mechanisms. Using my code CI now supports several different ways to cache database queries. Articles Documentation of ControllerBasedMode Documentation of ModelBasedMode Docum

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 11 2小时前 成为了本站会员

  • 开心快活人 5小时前 成为了本站会员

  • 晋财 6小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

0.241281s