How can we calculate the HTTP request made by each web page of my website

can someone help me calculate how many HTTP requests I need to do when I open my site Cricket News

I am trying to improve performance and better loading in all browsers.

1 more question 1) How many Http requests are better for better performance?

+4
source share
2 answers

Firefox Extensions Firebug with YSlow is a great way to define this metric. YSlow will provide you with additional optimization suggestions based on what it sees on your site.

Edit: To answer the second question, fewer HTTP requests are always better than more. There is no magic number. You have to balance by doing everything you need in the smallest queries available with the maintainability of your code.

+5
source

I saw that 99 requests are available on the home page. I used the firebug plugin in firefox ( https://addons.mozilla.org/en-US/firefox/addon/1843/ ) to check the number of requests. It also gives you the time it takes to receive each request. A very useful debugging tool.

If there is no strict requirement for programmatically determining the number of requests, you can live with it.

+2
source

All Articles