PHP Classes
elePHPant
Icontem

Web Page Size Calculator: Determine the size of Web page and its elements

Recommend this page to a friend!

  Author Author  
Picture of Huda M Elmatsani
Name: Huda M Elmatsani <contact>
Classes: 14 packages by
Country: Indonesia Indonesia
Innovation award
Innovation award
Nominee: 5x

Winner: 3x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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..

  Classes of Huda M Elmatsani  >  Web Page Size Calculator  >  Download Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Web Page Size Calculator
Base name: webpagesize
Description: Determine the size of Web page and its elements
Version: 1.0.0
PHP version: 3
License: Freeware
 
  Groups   Screenshots Screenshots   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes
Group folder image Performance and optimization Tools to measure and optimize the performance of systems View top rated classes

  Files folder image Screenshots  
screenshot.gif
File Role Description
Accessible without login Image file screenshot.gif Screen output screenshot


  Innovation Award  
PHP Programming Innovation award nominee
April 2005
Number 3


Prize: One downloadable copy of Komodo Pro
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

  Applications that use this package  
No pages of applications that use this class were specified.

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

  Files folder image Files  
File Role Description
Plain text file class.webpagesize.php Class class calculates webpage size
HTML file output.webpagesize.html Output sample output
Plain text file sample.webpagesize.php Example example

Install with Composer Install with Composer - Download Download all files: webpagesize.tar.gz webpagesize.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.