View Single Post

  #4 (permalink)  
Old 03-26-2008
dhorton@iprimus.com.au
 
Posts: n/a
Default RE: [PHP] optimilize web page loading

Get hold of
Steve Souders: "High Performance Web Sites: 14 Rules for Faster Pages"
http://www.oreilly.com/catalog/97805...x.html#details

There is a video at
http://www.oreillynet.com/fyi/blog/2...rformance.html

Browse the links from which you can see what he is suggesting without getting
the book.

Some of the things suggested are
- minimise number of files (css, js) downloaded by concatenating
- add an expires header so pages come from browser cache instead of download
- put style sheets at the top of downloaded page and (js) scripts to bottom

Someone else mentioned Yslow, which is one of the tools the author suggests.

David

>-- Original Message --
>Date: Wed, 26 Mar 2008 09:25:46 +0100
>From: "Alain Roger" <raf.news@gmail.com>
>To: "PHP General List" <php-general@lists.php.net>
>Subject: [php] optimilize web page loading
>
>
>Hi,
>
>i would like to know if there is a way to know how long does a web page

need
>to be loaded into browser ?
>this is interesting fact for me, as i will optimilize my PHP code in order
>to reduce this time to minimum.
>
>i was thinking to use some timestamp but as it will be in PHP, it mean that
>it should take time from server and therefore it is not fully representative
>from client browser time needed to load page :-(
>purpose :
>mywebpage.php -> 23 s before optimalization
>mywebpage.php -> 12 s after optimalization
>
>do you have any idea ?
>
>--
>Alain
>------------------------------------
>Windows XP SP2
>PostgreSQL 8.2.4 / MS SQL server 2005
>Apache 2.2.4
>PHP 5.2.4
>C# 2005-2008


Reply With Quote