Checking Size Of Web Pages - and download weights

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #18) by jlhaslip on Oct 21 2005, 04:29 AM. (Line Breaks Removed)
QUOTE(Tyssen @ Oct 20 2005, 07:18 PM)Amezis, jlhaslip: you two obviously don't have the FF Web Developer extension installed.  Tyssen, I have lost my network adapter/drivers on my principal machine and have been using a friend's Mac OS X machine for the last three weeks or so. Stuck with it for another few weeks until I get the laptop back. No FF on this one and I promised I woul... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Checking Size Of Web Pages - and download weights

jlhaslip
Do you have a method for measuring the 'size' of your web site to determine how fast or slow the site will load on various connections? Does it consider the values for the image and css files which have to follow along? And what sizes are considered acceptable?

Thank you.

Reply

Tyssen
You know that Web Developer extension I told you about the other day?
Tools/View Speed Report. wink.gif

Reply

Saint_Michael
i kow there are websites that test website speed go to this website and try out websites to see the results it shold help. I believe dreamweaver has that built into the software as well.

http://www.vertain.com/?sst

Reply

jlhaslip
Thanks.

That Web Developer does a whole bunch of stuff. Thanks again for that tip. I'll be sure to check there first before posting questions here...

Reply

Lozbo
Dont worry too much, most people is glad to help out wherever we can smile.gif I have a php script which lets you do the trick, let me find it...

CODE

<?php
# http://www.lawebdelprogramador.com
/* Take local time, it has to be at the beggining of pageCoge la hora actual.
Tiene que estar al principio de la pagina*/
$InicioCarga=date("H-i-s");

/* Our page begins here...
Aqui empieza nuestra pagina
**************************
**************************
**************************
our page ends here
aqui finaliza nuestra pagina */

/* take local time. This has to be at the end of the document
Coge la hora actual. Tiene que estar al final de la pagina */

$FinCarga=date("H-i-s");

/* function " SegundosDiferencia, returns number of secons between
two different time (in time format)
la funcion SegundosDiferencia devuelve el numero de segundos entre dos horas. */

$resultado=SegundosDiferencia($InicioCarga,$FinCarga);

/* show results
Mostramos los resultados. */

echo "Ha tardado ".$resultado." segundos en cargar la pagina.";

/* echo "Yer lovely page has delayed".$resultado."seconds loading this page. There you go buddy."; */

function SegundosDiferencia($horaini,$horafin)
{
$horai=substr($horaini,0,2);
$mini=substr($horaini,3,2);
$segi=substr($horaini,6,2);

$horaf=substr($horafin,0,2);
$minf=substr($horafin,3,2);
$segf=substr($horafin,6,2);

$ini=((($horai*60)*60)+($mini*60)+$segi);
$fin=((($horaf*60)*60)+($minf*60)+$segf);

$dif=$fin-$ini;

return $dif;
}
?>


Hope this worx

-10730

 

 

 


Reply

Spectre
You can't really get the exact size of a web page, especially if it contains dynamic content - everybody uses their own style of markup, and it makes it difficult to extract and calculate the sizes of images etc. Apache (and most HTTP v1.1 servers) support the 'HEAD' method, which returns just the header for the requested file and not the actual file contents. This makes it easy to get the size of binary files, but it cannot be used with text/html files - ie. web pages.

Reply

Lozbo
QUOTE(Spectre @ Oct 4 2005, 10:30 PM)
Apache (and most HTTP v1.1 servers) support the 'HEAD' method, which returns just the header for the requested file and not the actual file contents.
*


How do you do this method? Could you give further details please?smile.gif Thanks for this tip!

Reply

BordaForx
These are the results for http://www.trap17.com/forums/


QUOTE
URL measured:  http://www.trap17.com/forums 
  Page speed:  5.44 sec    (see details below) 
  Compare to:  2.51 sec    (average speed of all our benchmarks)
______________________________________________________

Seconds  Status  Activity  URL 
0.00 Loading Begin Navigation http://www.trap17.com/forums
0.00 Loading Begin Download 
0.00 Loading End Download 
0.00 Loading Begin Download 
1.94 Loading End Navigation http://www.trap17.com/forums/
2.39 Loading Begin Navigation http://pagead2.googlesyndication.com/pagead/ads?cl...
2.50 Loading Begin Navigation http://www.trap17.com/forums/index.php?s=91f9a15ea...
2.76 Interactive End Navigation 
3.12 Interactive End Download 
3.12 Interactive Document Complete 
3.76 Interactive End Navigation http://www.trap17.com/defaultads/default_728_90_ad...
5.40 Interactive Document Complete 
5.42 Complete Document Complete http://www.trap17.com/forums/










Reply

Spectre
Lozbo, the HEAD method exactly the same as the GET method. A quick example:

CODE
HEAD /file.ext HTTP/1.1
Host: host.tld
Accept: */*
Connection: close


Reply

Lozbo
Alright thanks spectre...

Reply

Latest Entries

jlhaslip
QUOTE(Tyssen @ Oct 20 2005, 07:18 PM)
Amezis, jlhaslip: you two obviously don't have the FF Web Developer extension installed.  wink.gif
*



Tyssen,
I have lost my network adapter/drivers on my principal machine and have been using a friend's Mac OS X machine for the last three weeks or so. Stuck with it for another few weeks until I get the laptop back.
No FF on this one and I promised I wouldn't mess with it, so don't want to d/l a FF browser for it. I sure miss my old beater * sniff * !

Reply

Tyssen
QUOTE(Tyssen @ Sep 30 2005, 10:42 AM)
You know that Web Developer extension I told you about the other day?
Tools/View Speed Report.  wink.gif

Amezis, jlhaslip: you two obviously don't have the FF Web Developer extension installed. wink.gif

Reply

jlhaslip
QUOTE(Amezis @ Oct 20 2005, 08:24 AM)
Well, most people here came up with complicated solutions. I think this is exactly what you looked for:
http://www.websiteoptimization.com/services/analyze/

Enter your URL and check, it will then tell you the total size of your webpage including images, css, javascript etc. It will also show you the download time on different connections, how many external files you are actually using etc. Very useful tool smile.gif
*



Y E S !!! Exactly what I was looking for. Thank you very much...

Reply

Amezis
Well, most people here came up with complicated solutions. I think this is exactly what you looked for:
http://www.websiteoptimization.com/services/analyze/

Enter your URL and check, it will then tell you the total size of your webpage including images, css, javascript etc. It will also show you the download time on different connections, how many external files you are actually using etc. Very useful tool smile.gif

Reply

arboc7
I use Dreamweaver, so whenever I need to know how large the file is and how long it will take to download over various connections, Dreamweaver will tell me. I think that Photoshop has a similar feature...but I'm not as sure about that.

Good luck and good coding!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : checking web pages download weights

  1. Google Module For Checking Aim Online Status - AJAXish but not really I think (1)
  2. Centering On Bordered Pages .... - (3)
    Having downloaded a lovely bordered page background, I now can't center anything on the page
    properly, obviously because of the border .... please help .... I'm not using CSS, just
    plain old HTML. Cheerie .... ~M~ ...



Looking for checking, size, web, pages, download, weights

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for checking, size, web, pages, download, weights

*MORE FROM TRAP17.COM*
advertisement



Checking Size Of Web Pages - and download weights



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE