Alik Levin's

Clarity, Technology, and Solving Problems | PracticeThis.com

Improve Web Application Performance By Reducing Number Of Http Requests - Fiddler To The Rescue

Improve Web Application Performance By Reducing Number Of Http Requests - Fiddler To The Rescue

  • Comments 6

Making Fewer HTTP Requests is #1 rule for improving performance for Web Applications according to Yahoo:

"Reducing the number of HTTP requests in your page is the place to start. This is the most important guideline for improving performance for first time visitors."

Here is how Fiddler 2.1.1.3 can help to identify number of requests that particular Web Page generates.

Fire up Fiddler and make sure it is capturing the Http traffic [it does by default] by looking into left corner in the bottom:

image

Then navigate to the page of your interest, yahoo.com for example. Fiddler captures all the traffic and presents it in detailed manner:

image

It may be challenging to identify all the resources [images, JavaScript files, CSS files and many others] that the page "brought" with it to my browser. Fortunately latest version of Fiddler has nice functionality to help with it. Point to any resource, say some gif file, in web sessions view and then hit "P" key - for parent. Fiddler will show the parent page - the one that caused the gif file to "come" to the browser. Once parent page identified, hit "C" key - for children. Fiddler marks all resources that "called" by the parent page.

It is interesting to see how much traffic the page generates and the overall bytes received as a result of navigating to the page:

image

How to improve? Yahoo has nice set of rules here: http://developer.yahoo.com/performance/

Enjoy.

  • Ever wondered why your application unreasonably slow? You have it all - most powerful hardware, your

  • How to anticipate or better off avoid performance related "surprises" during load and stress

  • Serving images dynamically may cause performance hit. Dynamically served images require more HTTP requests

  • אני נמצא הרבה זמן בעולם התוכנה וכמעט 15 שנה בעולם ה WEB ותמיד היו חסרים כלים ידידותיים לניתור של HTTP

  • Field experience proves - the earlier performance is tackled in development lifecycle the better results

  •       This post is a quick overview of free performance tools available from Microsoft,

Page 1 of 1 (6 items)