Reputation: 611
all.
for the given page, say "http://www.yahoo.com", how can i calculate total size for the downloaded files, for example img files, javascript files, and css files?
I know the htmlparser jar, but this does not support element for css file.
Upvotes: 2
Views: 822
Reputation: 10139
As Graeme mentioned, both the Firebug add-on for Firefox (a great tool for web developers btw) and the developer tools in Chrome will give you the info you want.
However if you dont want to download anything you can use this online service:
http://www.websiteoptimization.com/services/analyze/
And this will tell you how much is downloaded in bytes for a webpage, including images, style sheets, scripts and everything else.
Upvotes: 1