This class can fetch a Web page and analyse it to determine the total size of the page files including its elements.

It may be used to figure if a page is taking too much bandwidth and time to load because its total size is too large. Once you determine the total size of your pages, you can take appropriate action, like for instance reducing the size of the HTML code or removing less important parts.

This class calculates size of Web page and any elements that need to be loaded by a browser to present the page, such as images, Javascript code, Flash animations, frames, etc..

The satisfaction of the users of a site is often directly related with the speed by which the pages of the site load.

The easy way to measure the load speed is to determine the size of the pages and divide by the speed of the Internet connection of the site users.

However, it is not very accurate to only consider the size of the HTML code of a page. Usually there are many other pages elements that are loaded separately like images, style sheets, animations, frames, etc..

This class provides a more accurate solution to the problem of computing the real size of a page.

It parses the HTML code in order to determine which other page elements are loaded and retrieves their sizes that are added to size of the HTML code at the end of the calculation.

Manuel Lemos

User ratings

Ratings

Utility

Consistency

Documentation

Examples

Tests

Videos

Overall

Rank

All time:

Sufficient (68%)

Not sure (56%)

-

Sufficient (68%)

-

-

Not sure (46%)

2326

Month:

Not yet rated by the users

Applications that use this package

No pages of applications that use this class were specified.

If you know an application of this package, send a message to the author to add a link here.