RE: Calculating Page Load Time

"Gale, David" <[email protected]>
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
Jim Auldridge wrote:
> Quote Gale:
> "That'd give you the full request time,
> from the point the user clicked a link and started waiting all the way
> through to the end of the load process."
> 
> But if you are calculating page load time because you are hoping to
> make your page more efficient, who cares how long it takes to get the
> HTTP request to the server?  There isn't anything you can do to your
> page to speed up the transfer of the HTTP request.

Not really.  Two instances where you might be able to improve this time:
if the page is sending a lot of data in the request (generally, I'd only
expect this to be an issue with file uploads, which you're right, you
can't control--but it's very possible to create a form with a ton of
fields, and then it'd be at least conceivable to algorithmically
compress that data before sending); or if the requested page is built
dynamically (comments pages, blogs, etc.) by the server.  There may be
others, but these two are the ones that pop into mind immediately.

And, of course, if you can prove that the request is slow, then you can
argue that the response can't be fast, because it has to fit through the
same pipe.  And then you know to stop trying to optimize.  :-)

-David


Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.