I support corporate intraweb ASP.NET WebForms application.
Recently users started to experience extremely slow page loads on this webapp.
After eliminating all possibilities, I ended up with IE9 having troubles reading some files from local cache. Please see the picture.
It takes a bit more than 10 seconds to obtain the file. This totals page load time to about a minute.
Is there any way to fix it? Chrome works fine, but I need IE.
The WebResource.axd calls are generated by RadControls. Debug mode is false. Anyway, it worked fine last week with debug mode=true.
UPD: The issue was caused by KAV antivirus software. Lags disappear after either lowering heuristic level or changing the check mode to “On execution”.
Actually you do not get the files from the cache right away but you ask the server, then the server replay with “Not Modified 304”.
I also notice the the problems start after the load of the
/ErrorMonitoring.svc/jsdebugand also not that the type change to
text/javascriptfromapplication/x-javascriptTwo thinks I suggest, with out knowing if this can help you for sure.
First, add cache on webresource with out the need of asking the server. Here is a code that I use on global.asax
and second, check to see if you need the jsdebug, in general maybe this can add extra code that slow down the ie trying to debug the javascript errors ? I do not know.
and about the text/javascript maybe you need to test this out also, if you can change it to see if this is the reason. Also you can read: When serving JavaScript files, is it better to use the application/javascript or application/x-javascript