To identify the cause of slowly loading pages, especially when the problem is sporadic, it can be useful to add debug timing information into the generated HTML source. These timings can be for
为了确定页面加载缓慢的原因,特别是在问题零星出现的时候,在生成的 HTML 源代码中添加调试计时信息可能非常有用。
To add debug timing information, for example, you can update the Default.jsp of a theme with the following line early in the file.
例如,要添加调试计时信息,您可以使用以下行更新主题的Default . jsp文件开头的内容。
But I have to agree with him that doing so is a hassle, especially if you want to add the trace information only when you're trying to debug a problem.
但是我必须承认他的做法是值得商榷的,特别是如果您只希望在设法调试某个问题时才添加跟踪信息。
应用推荐