这是CI的Bug吗?
如果加上:ob_start('ob_gzhandler');的话
则
$this->output->cache(3600);缓存的结果不正确,生成的文件内容错误
并且
{elapsed_time}和{memory_usage}都无法统计
ob_start是否和$this->output->cache()有些PHP相关的关系呢,要开ob_gzhandler。请到config.php里去 不要自行使用 ob_start('ob_gzhandler');
CI 的 config.php 里可以打开 gzip 压缩。
页:
[1]