以这种方式向 HTML 注释添加调试计时信息的优点是什么呢?
What is the advantage of adding debug timing information to the HTML comments in this manner?
为了确定页面加载缓慢的原因,特别是在问题零星出现的时候,在生成的 HTML 源代码中添加调试计时信息可能非常有用。
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
例如,要添加调试计时信息,您可以使用以下行更新主题的Default . jsp文件开头的内容。
To add debug timing information, for example, you can update the Default.jsp of a theme with the following line early in the file.
应用推荐