作为PHP的开源框架,自然少不了对缓存的支持。Yii缓存可以在不同的级别使用。在最低级别,可用来缓存单个数据(数据缓存)。往上一级,我们缓存一个由视图脚本生成的页面片断(片段缓存)。在最高级别,可存储整个页面以便需要的时候直接从缓存读取。本文说明页面缓存的配置及实现效果;
Read full article from Yii 的缓存(页面缓存配置实例)大CC | 大CC
作为PHP的开源框架,自然少不了对缓存的支持。Yii缓存可以在不同的级别使用。在最低级别,可用来缓存单个数据(数据缓存)。往上一级,我们缓存一个由视图脚本生成的页面片断(片段缓存)。在最高级别,可存储整个页面以便需要的时候直接从缓存读取。本文说明页面缓存的配置及实现效果;
Read full article from Yii 的缓存(页面缓存配置实例)大CC | 大CC
No comments:
Post a Comment