Re: Re: optimilize web page loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 26, 2008 at 1:18 PM, Al <news@xxxxxxxxxxxxx> wrote:
> You are really asking an HTML question, if you think about it.
>
>  At the PHP level, either use output buffering or assemble all your html string as a variable and
>  then echo it.  The goal is to compress the string into the minimum number of packets.

Yes, but do so smartly. Excessive string concatenation can slow things
down as well. On most pages you probably won't notice much difference,
but I have seen instances where the difference was painfully obvious.

Andrew

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux