开发者

IIS Log files for ASP.NET website

I am testing ASP.NET website and for that I have turned logging on at IIS6.0.

Following are the observations during testing:

  1. Each link, png image, MS Chart and CSS file has been requested separately, one after another.
  2. For request of say login page it is taking around 30-45 seconds to complete and in that page only 6 images are there and at log file it is observed that there are separate requests for each images one after another.

Can anybody 开发者_C百科help me to improve site performance and also I would like to know that is it possible that all requests would send to server parallel?


Yes it is possible to improve on the app speed by parallelizing the downloads !

I recommend going through google page-speed and yahoo's yslow, and read the practices that they propose. I felt it informative.

http://code.google.com/speed/page-speed/

http://developer.yahoo.com/yslow/help/index.html

Thanks


First of all, have you checked web-site Performance tab? Limits could've been set there. Also check that keep-alives are enabled (web site tab).

Then you should profile your server using System Monitor.

If everything mentioned is ok, you should check client side and what's between client and server.


What's happening is that the browser makes HTTP requests to the server for each object it finds on the page. You can eliminate those requests, or reduce how often they happen, by enabling client-side caching. For static files, you can configure that in IIS.

You can parallelize requests for images (not JS files) by assigning them to different domains; if they are all in a single domain, the browser will request only two at a time.

However, you question opens the door to a big subject. In an attempt to provide a detailed answer, I ended up writing a book on the subject, called Ultra-Fast ASP.NET. I cover the answer to the question from the OP in great detail in Chapter 2.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜