本帖最后由 orclord 于 2009-5-8 15:18 编辑 $smarty->caching = true;//缓存页面
$smarty->cache_lifetime= 86400;//缓存页面
$smarty->cache_dir = './cache/';
$smarty->display('huanqiu.html');这几步都到位了,缓存文件也出来,但是呢,执行这个PHP的速度还是很慢(估计有3-5秒),是不是没直接读写缓存啊?我郁闷,谢谢大家帮我看看