rmn190
rmn190

Reputation: 611

how can i get the total size of all files contained (recursively for css file )in one html page?

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

Answers (1)

Jimmery
Jimmery

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

Related Questions