Please view http://www.onlinehomebase.com/test.cgi
test.cgi contains the following perl code:
#!/usr/bin/perl
print "Content-type: text/html", "\n\n";
print "x<br><img src=\"topleft_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "x<br><img src=\"topright_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "x<br><img src=\"bottomleft_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "x<br><img src=\"bottomright_CCFF66.gif\" width = \"7\" height =
\"7\"><br>";
exit;
PROBLEM:
For some reason, when rendering
http://www.onlinehomebase.com/test.cgi, there will always be one image
that the browser will "hesitate" to display, while all other display
promptly. This happens consistently.
I would like to get rid of this delay and have all image display
quickly.
The reason is NOT that one of the image files loads slowly: Go to
http://www.onlinehomebase.com/x_test4.html (which contains the same
html as is served by the test.cgi), and all images load fast.
Furthermore, when commenting out ANY three images in test.cgi, as done
in http://www.onlinehomebase.com/test2.cgi , the one remaining image
(no matter which one it is) will ALWAYS display with a delay. It's as
if something causes the "last" image to always be displayed with a
delay, IF the html is served up by a script.
Could it be that the script needs to close some kind of connection to
the browser so that the rendering for the "last" image (however the
browser or server defines "last") is not delayed?
What is going on here?
Thank you for helping.
Marc Fest |
Request for Question Clarification by
arimathea-ga
on
26 May 2003 17:38 PDT
marcfest-ga,
Does this happen with all browsers?
|
Clarification of Question by
marcfest-ga
on
26 May 2003 18:04 PDT
I've been testing this with IE 6.0 under Windows. Don't know if this
happens with other browsers as well. IE 6.0 / Win is what I am
concerned about.
It have reproduced the behavior on various PCs.
|
Request for Question Clarification by
errol-ga
on
26 May 2003 18:28 PDT
Hi!
Just to let you know, I've reproduced the problem with Mozilla/WinXP Pro.
It appears that it is the Perl script, web host or the server itself causing this.
Regards,
errol-ga.
|
Clarification of Question by
marcfest-ga
on
27 May 2003 04:32 PDT
Eadfrith -
Thanks so much for looking into this. test3.cgi uses the code listed
below, with an additional newline, but it does not seem to make a
difference. I do have a hunch though, that you are on the right track.
It'd be great if you figure this out.
Best,
Marc.
++
test3.cgi:
#!/usr/bin/perl
print "Content-type: text/html", "\n\n";
print "1<br><img src=\"topleft_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "2<br><img src=\"topright_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "3<br><img src=\"bottomleft_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
print "4<br><img src=\"bottomright_CCFF66.gif\" width = \"7\" height =
\"7\"><br>\n";
exit;
|
Clarification of Question by
marcfest-ga
on
27 May 2003 10:33 PDT
For your information: I installed the same script on a different
server (but referencing the same image locations), and all displays
normally, without the delay of the one image. See
http://www.quickbrowse.com/gt.cgi
So it seems to be a server-specific setting.
I'm upping the reward for this to $50.
Marc.
|
Request for Question Clarification by
sgtcory-ga
on
29 May 2003 12:35 PDT
Hello marcfest,
I have a suggestion to test, but can not pinpoint the exact cause
quite yet. On one server you are running Apache 1.2.19 (slow image),
and on the other Apache 1.2.22.
I tested this on my server which is running Apache 1.2.27 and it
worked like a charm.
The only thing I can suggest as a test, is to upgrade Apache on the
slow server and run it again. If it works we can start to dig deeper.
I have been searching for something along these lines that may be a
known problem, and will keep you informed of how it goes. There is
quite a large amount of documentation on the changes from version 19
to 22, and it may help lead us in the right direction.
SgtCory
|
Clarification of Question by
marcfest-ga
on
29 May 2003 22:25 PDT
I've noticed that using a different domain on the same server for the
same script does not show the problem.
http://www.onlinehomebase.com/test.cgi shows it while
http://www.marcfest.com/test.cgi does not. The problem must therefore
lie with the virtual container for onlinehomebase.com in httpd.conf.
I'm sure I'll figure it out now that I've narrowred it down to this.
thank you again to all that have tried to help me.
|