本文不定时更新
技巧一:默认分组
设置默认分组能够很好的提高访问网页速度,我们可以在Application/Common/Conf/config.php中,做出如下配置:

结果如下:

技巧二:页面底部跟踪信息trace
在页面底部添加跟踪信息,可以很方便地调试代码,查看执行SQL语句执行结果,js,CSS是否完全加载,各种错误.
在Application/Common/Conf/config.php中配置如下代码:

显示结果如下:


如果有些页面底部不需要显示,我们可以如下操作:
网友评论