|
|
|
|
![]() ![]() |
Sep 29 2005, 08:33 PM
Post
#1
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,083 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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. |
|
|
|
Sep 30 2005, 12:42 AM
Post
#2
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,161 Joined: 9-May 05 From: Brisbane, QLD Member No.: 6,818 |
You know that Web Developer extension I told you about the other day?
Tools/View Speed Report. |
|
|
|
Sep 30 2005, 01:03 AM
Post
#3
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,561 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
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 |
|
|
|
Sep 30 2005, 08:46 PM
Post
#4
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,083 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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... |
|
|
|
Oct 1 2005, 12:27 AM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 282 Joined: 1-September 05 From: Wanatos Member No.: 11,382 |
Dont worry too much, most people is glad to help out wherever we can
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 |
|
|
|
Oct 5 2005, 04:30 AM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 873 Joined: 30-July 04 Member No.: 246 |
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.
|
|
|
|
Oct 6 2005, 01:05 AM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 282 Joined: 1-September 05 From: Wanatos Member No.: 11,382 |
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? |
|
|
|
Oct 6 2005, 01:21 AM
Post
#8
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 420 Joined: 11-June 05 From: United States of America Member No.: 8,099 |
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/ |
|
|
|
Oct 6 2005, 01:29 AM
Post
#9
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 873 Joined: 30-July 04 Member No.: 246 |
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 |