[英]Slow loading in IE, chrome; fine in FF and Opera
I've been developing an intranet application in APEX (accessed via the IP, port, and application number, like 10.1.6.94:8087/apex/f?p=937). 我一直在开发APEX中的Intranet应用程序(可通过IP,端口和应用程序号访问,例如10.1.6.94:8087/apex/f?p=937)。
The problem is, when I had my coworkers test it, they ran into all sorts of problems because the javascript and other resources on the page were loading very slowly. 问题是,当我让我的同事对其进行测试时,他们遇到了各种各样的问题,因为页面上的javascript和其他资源加载非常缓慢。 They're all using Dell Latitudes, on different browsers. 他们都在不同的浏览器上使用Dell Latitudes。 I checked through the internet options and compared to multiple desktops and the settings were the same. 我检查了Internet选项,并与多个桌面进行了比较,设置相同。
No matter what I try, on these laptops, Internet Explorer and Chrome are very slow to connect to the site and load pages, and much of the functionality is gone (such as changing a dropdown causing a report to refresh, via dynamic actions in APEX). 无论我如何尝试,在这些笔记本电脑上,Internet Explorer和Chrome都很难连接到网站并加载页面,并且许多功能都消失了(例如,通过APEX中的动态操作更改了下拉菜单,导致报表刷新) )。 Firefox and Opera work just fine. Firefox和Opera可以正常工作。
On my home laptop, my work desktop, and my colleague's desktop, the pages work fine in IE and Chrome. 在家用笔记本电脑,工作台式机和同事的台式机上,页面在IE和Chrome中都可以正常运行。
I thought it might be the hosts file at first, but the hosts file on the problem laptops appears to be empty (except for the comments at the top). 我以为一开始可能是主机文件,但是问题笔记本电脑上的主机文件似乎是空的(顶部的注释除外)。
I've tried all manner of things, such as: 我尝试了所有方式,例如:
When profiling the network usage in IE 11 on the problem laptops, it looks like files that are 20 KB in size are taking > 5 seconds to load, and sometimes connections can take 60 seconds. 在有问题的笔记本电脑上对IE 11中的网络使用情况进行性能分析时,看起来大小为20 KB的文件加载需要5秒以上的时间,有时连接可能需要60秒。
I'm pulling my hair out and seem to have exhausted all resources I can find. 我正在拔头发,似乎已经用尽了所有可以找到的资源。
After hours and hours of searching, I stumbled upon the setting that was causing the issue. 经过数小时的搜索,我偶然发现了导致该问题的设置。 I was inspired by this: https://stackoverflow.com/a/1934605/1102199 我受此启发: https : //stackoverflow.com/a/1934605/1102199
Go into internet options (either Start -> "Internet Options", from the Control Panel, or in Internet Explorer, go to Tools -> Internet Options). 进入Internet选项(从“控制面板”中的“开始”->“ Internet选项”,或在Internet Explorer中,进入“工具”->“ Internet选项”)。
Then click "Connections", then "LAN Settings", then make sure to uncheck "Automatically detect settings." 然后单击“连接”,然后单击“局域网设置”,然后确保取消选中“自动检测设置”。 This was unchecked on all the computers where things were working correctly, and checked on the computers where things were slow. 在一切运行正常的计算机上未选中此选项,而在运行缓慢的计算机上进行了检查。 I'm still not sure why Firefox and Opera weren't affected by this, but there you have it. 我仍然不确定为什么Firefox和Opera不会受到此影响,但是在那里。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.