Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We are running an ASP.NET web application, and recently we received a lot of crash reports from users. It sometimes crashes the Chrome browser, and sometimes it loads indefinitely.

This is how our system is designed: our page is a light weight HTML5 page, there is no code behind in our page (i.e., no server-side binding). Once the page is loaded in browser, it fires up AJAX requests to load everything it needs, from look up values to business model, and then it uses JavaScript to bind it to drop down lists and other DOM elements.

This is the screen shot from the Chrome browser's developer tool:

enter image description here

Is 91 HTTP requests too much for a browser? How do I eliminate that this is not the cause of browser and application crashes?

share|improve this question
    
I think those 91 HTTP requests (it's not too much for a browser) are not the cause of application crash. Therefore, hard to say what happens. –  Zistoloen Apr 8 at 14:11
2  
Do you have to do everything by Ajax? Is that really necessary? And do you really need so many requests? Surely you can combine a lot of them into one request. –  John Conde Apr 8 at 14:27

1 Answer 1

Apart from the comments from Zistoloen and John Conde, the first thing to do is test yourself the situation. Replicate the situation and environment reported by the users to see if the problem happens to you.

If you can't replicate completely the environment, at least try to do it as close as you can.

Test the load of the site in many browsers, preferably on private sessions and with a tor session or any similar service, that should generate a load with a completely different set of proxies which will affect the cache between the actual hosting company and your computer.

In a local session, against the development server, so a clean load of the site with verbose logging activated and check to see if there is any problem there. If there is a misconfiguration on the server, it may be keeping the browser active or on a waiting state which may cause problems. Although a crash seems unlikely.

Test in local environment, and clean cache the load on the system when the browser loads the page, that way you can see if there is any spike on resources.

If you developed the application, go one step at a time, deactivate the most intensive part of the JS and test the application, repeat until the system is stable. This procedure is more effective if you where able to replicate the situation reported by your users and managed to crash the browser.

91 request seems like a lot, and if there are strange, on unmet dependencies between elements that have not being loaded on time, that can cause problems on the V8 compiler of Chrome, which may not be as serious on spidermonkey due to the way it preprocesses the code.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.