10 2014 档案

摘要:smarty缓存技术 在smarty中,缓存分为:普通缓存,单模版都缓存,局部缓存。缓存:1:首选打开缓存配置项:$smarty->caching=true;2:缓存生命周期的配置选项:$smarty->cache_lifetime=整秒数3:$smarty->is_cached('index.h... 阅读全文
posted @ 2014-10-31 15:21 尼科 阅读(182) 评论(0) 推荐(0) 编辑