Re: [PHP] Re: optimilize web page loading



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
.



Relevant Pages

  • Re: Clipboard Data conversion...!
    ... "Mike D Sutton" ha scritto nel messaggio ... >> I have a html string and i need to show it on RichText API control that ... > The clipboard will synthesise the copied clipboard data in other formats ... I copy to the Clipboard my RTF string after building RTF format. ...
    (microsoft.public.vb.winapi)
  • Re: javascript code
    ... does expect Out to be a string containing an URL and only that. ... document.writejust writes the html string to the dom, ... but read the specs in using statements in javascript. ...
    (comp.lang.javascript)
  • Re: HTML Emails from Access
    ... There is no substantive difference between an HTML string and any other ... We call the one an HTML string because it contains HTML tags; ...
    (comp.databases.ms-access)
  • Re: Current Pages Response Stream
    ... I'm not sure if this will help, but it you want to capture the html string ... that is sent to the browser this will work. ... Dim _stringWriter As StringWriter = New StringWriter ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Converting html string to object
    ... rendering the string to the page.. ... >> I need to find a way to read a html type string from a database and add ... >> the fields that were in that html string at run time. ... > user control on disk, then you can load it with LoadControl. ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast