What is relation between number of HTTP packets and number of objects in a web page?
asked 20 Apr '11, 13:42
answered 20 Apr '11, 13:47
You might try to filter on GET/POST requests, for example using
Since every object needs to be requested by either GET or POST request that filter should allow you to find out how many objects were requested in a trace file. If your trace file contains more than one page you have to exclude those packets of pages you don't want. If you're lucky your webbrowser used one single TCP session (by using HTTP1.1 keep-alive) that contains all elements of one page allowing you to filter on. If not, you're in for some additional filtering work.
answered 20 Apr '11, 16:34
A rough indication on how many objects were on a page is to use the "http.rerefer" field. When a browser requests an object that is part of a page, it sets the Referer: header to the URL of the page on which the object was requested.
So I just tried opening www.facebook.com and filtered for
Please note that your original request will not be in the list (as the Referer: field will be empty when you manually type in an URL). Also be aware that any click on the page will also use the page URL in the Referer: field, even when going to another website.
answered 20 Apr '11, 23:59
edited 21 Apr '11, 00:01