Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 12-29-2008, 08:53 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Question "XXX Items remaining" IE slow page loading problem

I have a problem with my php/MySQL website. When users visit the site using Internet Explorer, in the bottom left corner of the browser it runs through thousands of "Items remaining" in a "countdown" fashion. When the countdown of items remaining reaches zero, then the page finally loads. This really slows things down for the user.

This DOES NOT occur when viewing the site with FireFox, Safari, or any other browser. FireFox and Safari load the website pages all at once, so loading occurs almost instantly.

Has anyone else run into this issue? I'm really stumped.
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-29-2008, 09:56 PM   #2 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,470
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: "XXX Items remaining" IE slow page loading problem

That's what IE does, there is nothing you can do about this.

The slowness is also probably just IE being IE.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-29-2008, 10:45 PM   #3 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem



I was afraid of that. I've been researching this inside and out, and I can't find any code manipulation that would work around this problem in Internet Exploder. The morons behind IE seem to have it accessing the dbase in the most inefficient, sequential manner possible.

Thanks for your input anyway, always good to hear from a fellow Canuck!

If anyone else has a magic solution to this, please put me out of my misery. If anyone is curious to see this wonderful bit of annoyance in action, dust off your IE and point it here.

Last edited by NeutrinoMan; 12-29-2008 at 10:49 PM.
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-30-2008, 12:43 AM   #4 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,470
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: "XXX Items remaining" IE slow page loading problem

This is how IE handles PHP. I think it's part of their plot to take over the world with ASP.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-30-2008, 06:21 AM   #5 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 43
OS: Windows Vista x64


Re: "XXX Items remaining" IE slow page loading problem

Quote:
Originally Posted by dm01 View Post
This is how IE handles PHP. I think it's part of their plot to take over the world with ASP.
IE doesn't handle php, the server does. All IE would see is the HTML that PHP renders.


Ok, I think this is a caching problem, I'm not sure exactly what all 1000 "items" are though... take a look at the last post on this thread:
http://www.webmasterworld.com/forum21/11679.htm

See if the server cache controls helps, it seems that even though the page loaded right away for me it was counting down all 1000+ items... You may want to try ajax and put a "Loading" bar on there if its bugging you.

Last edited by daniel142005; 12-30-2008 at 06:37 AM.
daniel142005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-04-2009, 11:39 AM   #6 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

Just an update, I have tested this issue in IE8 and the problem exists there too, although the countdown of the items is much faster, so much so that the occurs in "leaps" of 100 or so. However, it still loads through 1000s of items resulting in an unacceptably long delay.

Seeing that the loading is faster in IE8 makes me think that the problem is specific to IE and not a server issue. If that's true, perhaps there's a faint hope of coding workaround. I've investigated and played with server cache control, and it doesn't help.

Yes, I've reported this with the IE8 error reporting tool, like that will make any difference!

Anyway, I'm still all ears on this issue if anyone has any ideas.
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-12-2009, 10:41 PM   #7 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

STILL haven't solved this problem - bloody frustrating. IE sucks big time - it's almost as if they have purposely designed it to handle php poorly.
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-13-2009, 11:27 PM   #8 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,470
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: "XXX Items remaining" IE slow page loading problem

This issue surfaces with IE only. Opera (9.64 I) has no problems loading the page.

I've looked at the source and I don't have a clue what your problem is PHP-wise. I'm still looking :).
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-14-2009, 01:54 AM   #9 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 43
OS: Windows Vista x64


Re: "XXX Items remaining" IE slow page loading problem

Quote:
it's almost as if they have purposely designed it to handle php poorly.
If your still looking for it being caused by PHP then I'm 99% sure you won't find a solution. PHP is done on the server, not the web browser. For Example:

Server - test.php
PHP Code:
echo "<b>hello world</b>"
The test.php is then sent to the php interpreter, the php interpreter then renders the correct html, which in this case would be:

HTML Code:
<b>hell world</b>
After the server renders the html THEN it is sent over the internet to the viewer's web browser. Internet Explorer does not handle php, asp, jsp, or any other server-side language. Your problem probably lies in how the web page is designed with CSS/Javascript/HTML, I assume the "items" are images?

Edit: --
After some more searching I found another common cause. If you are including any javascript files that are not in <head> try moving them to the bottom of the page and see what happens.

Also, if you are using any javascript libraries such as scriptaculous try and see what happens without them, if that stops it then maybe we can narrow it down even more.

Last edited by daniel142005; 03-14-2009 at 02:03 AM.
daniel142005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-14-2009, 06:16 PM   #10 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

I think daniel is right, this probably isn't a php problem after all. I sent my question to a php expert and she replied as follows:

I can't really be much help. One thing I know for sure is that the problem is not with PHP. PHP runs in the Web server (Apache?) and outputs the code that defines the Web page. By the time the code gets to the browser, there is no PHP involved. PHP has already done it's thing and the only thing that arrives at the browser is the output from the PHP script, which is HTML, JavaScript, etc. So, if it behaves differently in different browsers, the problem is in the HTML, JavaScript, etc., because that is the only code that the browser sees.

...which is basically what daniel is saying.

Thanks for the tip on the javascript, I'll give that a try and see what happens.

Man, this is one nut I would sure like to crack!
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-15-2009, 02:00 PM   #11 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

Some testing results:

IE6: scripting enabled: time to load page: 90 seconds
IE6: scripting disabled: time to load page: 19 seconds

IE8: scripting enabled: time to load page: 74 seconds
IE8s: scripting enabled: time to load page: 15 seconds

I repeated the test several times, always with the same results, right to the second.

This would imply that IE is being slowed down by the javascript. However, I performed another test that contradicts this.

I copied the source view from the page and then saved it as an HTML file.

Then I opened the local copy of the html file using IE, and... The page loads instantly (I even emptied the cache first, just to be sure it was loading it from scratch). I know the javascript was loaded as well, because all the scripting features work.

I took that same html file and put it on the server, and of course, it goes back to loading super slow.

My conclusion from that test is that IE can handle the code and javascript in the page just fine, but it's something about having to get the content from the server that IE can't handle.

Very confusing, very frustrating.
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-16-2009, 03:04 AM   #12 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 43
OS: Windows Vista x64


Re: "XXX Items remaining" IE slow page loading problem

It could be the javascript, any way you could give us a link or attach the javascript file?
daniel142005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-19-2009, 08:54 PM   #13 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

Yes, of course - thanks in advance for looking at them.

Scripts attached.
Attached Files
File Type: zip scripts.zip (5.3 KB, 2 views)
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-20-2009, 04:32 AM   #14 (permalink)
Registered User
 
Join Date: Dec 2008
Posts: 43
OS: Windows Vista x64


Re: "XXX Items remaining" IE slow page loading problem

Hmm, I don't really see anything that would cause it but just to be sure, try disabling javascript in the browser. You can find instructions here: http://kb.iu.edu/data/ahqx.html

Once its disabled, restart the browser and go back to the page. If its still doing it then its not the javascript, if thats the case if you have any css files could you attach them?


Also, are you designing these web pages in any type of IDE that generates the code for you? or are you typing up the HTML by hand? If you are, what software are you using?
daniel142005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-20-2009, 08:48 AM   #15 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Re: "XXX Items remaining" IE slow page loading problem

Thanks Daniel,

Yeah I tried disabling javascript already, if you look a couple of posts back I have the results described with the load times. My concern there is that even though it loads faster without scripting enabled, it still runs through the "XXX items remaining" and still takes a considerable amount of time. So my gut says it's not the scripts that are the root of the problem.

The pages are done by hand from scratch in TACO.

I've attached the stylesheet, again, thanks for the input.
Attached Files
File Type: zip stylesheet.css.zip (2.3 KB, 2 views)
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-21-2009, 08:53 PM   #16 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Stony Plain, AB
Posts: 9
OS: win xp, Mac OS X


Grin Re: "XXX Items remaining" IE slow page loading problem

SOLUTION!!! FINALLY!

http://stackoverflow.com/questions/734824/anyone-have-ideas-for-solving-the-n-items-remaining-problem-on-internet-explorer

Just in case that page ever goes down, here is the problem and solution:

---------------------------------------------------

Description
This bug is in IE6 to IE8.

If you use CSS, to enable IE "behavior" via the url() syntax to an external file, IE indicates in the status bar that it is downloading the file. - fine.

However, it gets ***CACHED*** by the browser (if the headers are set correctly) however IE insists on polluting the status bar with "456 items remaining" as it "claims" a download for each and every reference to the ***SINGLE*** HTC file.

to reproduce, add this style to a page.

<style>
body * **
behavior:url(anyfile.htc);
}
</style>

This will cause the status message for *EVERY* element on the page as the page loads. It is so anoying, that it causes the UI to flicker, and actually slows the page load significantly.

Note: this is regardless of the content in the HTC file, a simple onmouseover event handler to alert Hello World causes the issue.

---------------------------------------------------

Conclusion? IE SUCKS!!!
NeutrinoMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:47 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85