http://qs321.pair.com?node_id=247088

YAFZ has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I've just trying to add a simple script to my site. I got this simple script from a friend of mine (which was based from the code from PerlMonks site). The script aims to retrieve the headlines from the BBC News web site. You can see the source code at that address: http://ileriseviye.org/BBCNewsTicker.html

I've tried the script from my Debian GNU/Linux command line and it worked like a charm. So I decided it to upload to my website and call it from an IFRAME tag. This way the script which lives at http://ileriseviye.org/cgi-bin/BBCNewsTicker.pl would liven up the homepage of the site. I did what I should and then fired up my Mozilla web browser. Everything was OK when I connected to http://ileriseviye.org. I refreshed it a few times and each time the page was rendered within a few seconds.

So what is the problem you ask? When I switched to Win2000 and tried to view this page using Internet Explorer (5.5, & 6.0) the page behaved very very differently! It took ages to render the page. At first I thought it can be related to some IFRAME tag issue related to IE. Or maybe the problem was with BBC News site. However when I ran Mozilla or Phoenix on Win2000 everything seemed OK once again. While IE was struggling to retrieve the page I was refreshing the same page using Mozilla & Phonenix and there was no problem for these browsers.

Since this is server-side programming I simply couldn't understand why it is very different for different web browsers. I'm new to Perl, CGI, etc. so I'll be glad if the fellow experienced monks can enlighten me on this problem. All comments showing me the right way are welcome.