【问题标题】:why script take too time in IE 11?为什么脚本在 IE 11 中花费太多时间?
【发布时间】:2016-12-14 16:37:01
【问题描述】:

在我的 asp.net 应用程序中,使用 IE11 调试响应时间太长。(至少 2 分钟)。IE 说“本地主机没有响应长时间运行的脚本。”。我如何检查哪个脚本花费的时间太长?

This is running script list in vs.

This is IE profiler order by inclusive time.

【问题讨论】:

  • 什么是“querySelectorAll”函数?
  • 这个函数包含在jquery-1.7.1.min.js中。
  • @Nirman querySelectorAll 是一种标准(选择器 API 级别 1)方法,用于返回与 CSS 选择器匹配的元素。

标签: c# asp.net .net internet-explorer-11


【解决方案1】:

禁用浏览器链接选项。

Here

问题的原因是浏览器链接功能需要禁用动态压缩。 dynamicCompressionBeforeCache 属性允许 IIS 在第一次发出请求时动态压缩响应并将内容排队等待压缩。启用此属性后,页面加载速度会更快,而禁用此属性会导致额外的 CPU 消耗并增加页面负载。更多信息在此处=>Troubleshooting issue related to browser link feature

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-05-07
    • 2020-07-17
    • 1970-01-01
    • 2017-03-20
    • 2016-05-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多