Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18629

Re: Strange Delay in Page display (OT ??)

From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: Strange Delay in Page display (OT ??)
Date 2013-02-25 13:29 -0700
Message-ID <ap1vtuF4pd1U1@mid.individual.net> (permalink)
References <aon7faFo7deU1@mid.individual.net> <d1d0ecaf-e553-4c98-b3c8-0c14a9af8372@googlegroups.com> <aonu3hFt8h4U1@mid.individual.net> <aonuqaFtcusU1@mid.individual.net> <ufzWs.14885$Zp1.6558@en-nntp-15.dc1.easynews.com>

Show all headers | View raw


Richard said:

">>
> It could be that the server doesn't send the very last of the page to
> the browser until the after sending the email. Perhaps forcing a flush
> of the buffer before doing the email send.
>
> onload can not happen until the page IS fully loaded, but many browsers
> will work on rendering a partial page, so if the closing page tags are
> delayed then that would delay the onload, but possibly not the page 
> display.

Hi Richard:

    So, I guess that *sending* both emails by my sendmail() function in my 
server somehow either ties up my CGI app, or ties up my Apache server 
software, and slows one or both down until my sendmail() function is 
completed.

    I'll have to find a way to somehow lower the priority of the sendmail so 
it doesn't slow things down.

Thanks for the comment.

-Mel

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 11:31 -0700
  Re: Strange Delay in Page display (OT ??) Danny <dann90038@gmail.com> - 2013-02-21 15:42 -0800
    Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 17:57 -0700
      Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 18:09 -0700
        Re: Strange Delay in Page display (OT ??) Richard Damon <Richard@Damon-Family.org> - 2013-02-24 20:37 -0500
          Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-25 13:29 -0700
            Re: Strange Delay in Page display (OT ??) Christoph Becker <cmbecker69@gmx.de> - 2013-02-25 22:43 +0100
              Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-25 16:41 -0700

csiph-web