Why is Internet Explorer so slow with v1.5?

Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Number of replies: 40

Has anyone got any ideas or fixes as to why IE is so slow with version 1.5, it was good with version 1.4.x's but now with this great update its proverbably screwed! Mozilla of course humms along at full speed, but Internet explorer crawls when loading a page...

Lots of students will start complaining I can see so any ideas?

Chris

การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
is it slow for you on moodle.org?
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Yes, on moodle.org and our sites the front page is fine , its just when you log into a course it crawls to load the course page.. moodle.org is faster than our site using a cr theme.. is it the theme doing it maybe?
การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Art Lader -

Hmmm... It's fine for us using IE 6.0.

Odd.

-- Art

การประเมินโดยเฉลี่ย: -
In reply to Art Lader

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Just tried it with 2 classes, 30 pcs a piece, it appears to be a theme thing, use a stock standard moodle plain looking theme all is ok, use a cr theme and she slows down to a crawl unless you use firefox or something other than ie... I will go and pose this question in the themes forum, as its obviously a theme problem it seems.
thanks
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย James Robertson -

Moodle.org has seemed slow to me since it changed -- not on the home page, but on moving between forum threads and clearing the "unread" number in the Using Moodle course.  I have wondered it this effect is caused by size/number of threads or number of forums I am subscribed to.

However, a course in which I had prototyped 2 topics that ran fine in 1.4.4 became very slow displaying the coure page after upgrading to 1.5 on my two test machines (WinXP 2.6 ghz and Win2k 800 mhz).  Turning editing off largely solves the problem (but I am trying to edit), so does using Mozilla Firefox rather than IE6.  Here are my course page display time results:

                        2.6 ghz  IE6  800 mhz          2.6 ghz  FFox  800 mhz

Turn Edit ON      23 secs         28 secs            2+ secs           7 secs

Turn Edit OFF      2 secs           5 secs            2- secs           6 secs

But I realized I had 26 topics defined, even if only two had content.  So I changed to single-topic display and 23 / 28 seconds dropped to 4 / 6 seconds.  I repeated this with a new empty course of 30 topics, with similar results.

I did not see this effect in 1.4.4, so should I report it as a bug?  Meanwhile, it seems that when editing, use Firefox or use single-topic display with IE.

I have also noticed that the Workshop edit screen can take 4-7 seconds to display, but have not isolated the circumstances.

Jim Robertson.

การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Davidson Chris -
Same here. Fire Fox load up the course page 5 to 10 times faster than IE 5 and IE 6.  The load up speed on IE is even slower if you turn on the edit mode, it just hang the machine for 15 to 45 seconds.
การประเมินโดยเฉลี่ย: -
In reply to Davidson Chris

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -

Actually I would like to go back on my statement , its not the theme as I thought, take out the logo from the cr theme and shes still grinding away. Also now got 40+ student complaints confirming this slowdown also with v1.5 using Internet explorer.... I wonder why it does it??

การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
Well, which theme are you using?  And you have tried going back to a theme like standardwhite?  How does it go then?
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -

Tried with standard white, I was using cr aqua for v1.5 , but changing to standard white makes its just a little tiny bit faster, front page fine, but click on a course you can wait at least 3 seconds for the load, hit turn editing on, and it just took 20+seconds to load.  The status bar gets stuck showing on a /pix.php/...  file ( the file or .jpg it shows changed though everytime you turn it on... When you deselect turn editing on it loads the course page within 2 seconds, then stops and freezes the screen for up to 5 seconds, if you try and click on the screen you get the not repsonding message from IE and then it will come alive again and the page can be scrolled and used...

Very strange.

การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Mike Churchward -
รูปภาพของCore developers รูปภาพของPlugin developers รูปภาพของTesters
Hi Chris -

I just tried your site and it seems very fast. You mentioned that its only when you access a course page. Can you grant access to one course page so someone can look and see what might be happening?

mike
การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Thanks for the offer... http://demo.jaagroundschool.com is a exact backup of one of the live sites classrooms, enter as user: student and password: demo as a normal person or as a teacher to play with the editing button via user and pass as moodle and then moodle .

Chris
การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Mike Churchward -
รูปภาพของCore developers รูปภาพของPlugin developers รูปภาพของTesters

Hi Chris -

I think it might have something to do with this line in your course header:
<style type="text/css">/<![CDATA[/ body{behavior:url(http://demo.jaagroundschool.com/lib/csshover.htc);} /]]>/</style>

It looks like it isn't loading properly and hangs up the browser while waiting. It doesn't affect FireFox because behaviours aren't supported by it.

mike

การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Ray Lawrence -
I just tried your site too. Seems OK for speed in IE and FF.

(is that you at the computer on the webcam?)
การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Not being very conversant with css I havent touched the themes apart from modify the logo files for the header when used, so now to find the little bigger line...

This is using v1.5 I downloaded on wednesday with a clean install in a clean db using a restore file from v1.4.5.

Chris
การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Mike Churchward -
รูปภาพของCore developers รูปภาพของPlugin developers รูปภาพของTesters
If I login as the student, the speed is pretty good. There is a slight hesitation, but I think it still has to do with the behaviour.

If I go in as a guest, its much worse. And my IE maxes out the CPU for about 3-4 seconds. No such thing happens with FF.

This is not specific to your site. I see the same behaviour on Moodle.org if I go in as a guest. This has something to do with guest access.

mike
การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Mike Churchward -
รูปภาพของCore developers รูปภาพของPlugin developers รูปภาพของTesters
I've registered this as a bug. See Bug #3453.

mike
การประเมินโดยเฉลี่ย: -
In reply to Mike Churchward

Re: Why is Internet Explorer so slow with v1.5?

โดย Shane Elliott -
รูปภาพของCore developers รูปภาพของPlugin developers
It does seem to be a problem with csshover.htc - I've added Urs to the CC list for this bug. Perhaps he can shed some light on it.

A temporary solution is to comment out/remove the line:
<style type="text/css">/<![CDATA[/ body{behavior:url(http://demo.jaagroundschool.com/lib/csshover.htc);} /]]>/</style>
in lib/javascript.php
It won't affect the running of the site in any way. It will only stop the hover effect working on the tabs in IE.
การประเมินโดยเฉลี่ย: -
In reply to Shane Elliott

Re: Why is Internet Explorer so slow with v1.5?

โดย Ger Tielemans -

Yes it makes a big difference, and I must say: I prefer the static tabs above these disappearing tabs. (in IE when you hover over.)

การประเมินโดยเฉลี่ย: -
In reply to Ger Tielemans

Re: Why is Internet Explorer so slow with v1.5?

โดย Darren Smith -
Has somebody changed this on moodle.org? It's flying all of sudden under IE- or is it just a coincidence?
การประเมินโดยเฉลี่ย: -
In reply to Darren Smith

Re: Why is Internet Explorer so slow with v1.5?

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
It's changed now, but what worries me is why it took people so long to identify that there was a speed problem  sad   See the tabs hack by Urs that was causing this issue.
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย Mike Churchward -
รูปภาพของCore developers รูปภาพของPlugin developers รูปภาพของTesters
Well, it was much, much worse when you logged in as a guest, so I'm guessing the cache may have made it tolerable. When I accessed moodle.org with IE using WIN 2K while I was logged in, the delay wasn't really that noticeable.

mike
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย Davidson Chris -
It is because when we reported a speed problem, we always been directed to check server setup, server config, number of ram, horse power of CPU, php, apache, MySQL setup etc......mixed
eg.
http://moodle.org/mod/forum/discuss.php?d=24036
http://moodle.org/mod/forum/discuss.php?d=24868
http://moodle.org/mod/forum/discuss.php?d=14997
การประเมินโดยเฉลี่ย: -
In reply to Davidson Chris

Re: Why is Internet Explorer so slow with v1.5?

โดย Michael Penney -
If the speed problem was caused by the server set-up, it would affect all browsers about the same, not just one browser.

Sure everyone responding to a 'slowness' complaint should ask if the reporter tested it on more than one browser.

Likewise everyone reporting a slowness complaint should see if it's browser specific.

We really need a 'problem report' form here with required fields for this sort of information.



การประเมินโดยเฉลี่ย: -
In reply to Davidson Chris

Re: Why is Internet Explorer so slow with v1.5?

โดย Ger Tielemans -

On our 1.5 testserver I get this kind of messages at the bottom of the page:

0.35559 secs
RAM: 10.2MB
Included 56 files
ticks: 35 user: 21 sys: 0 cuser: 0 csys: 0
Load average: 0.11

Can someone explain me what it means?

การประเมินโดยเฉลี่ย: -
In reply to Ger Tielemans

Re: Why is Internet Explorer so slow with v1.5?

โดย Chardelle Busch -
รูปภาพของCore developers
FYI,

I just updated 1.5 Stable and the "hover" line is still in lib/javascript.php
การประเมินโดยเฉลี่ย: -
In reply to Chardelle Busch

Re: Why is Internet Explorer so slow with v1.5?

โดย Shane Elliott -
รูปภาพของCore developers รูปภาพของPlugin developers
It's still there but should be commented (HTML style) out ie:

<!--
<style type="text/css">/*<![CDATA[*/ body{behavior:url(<?php echo $CFG->wwwroot ?>/lib/csshover.htc);} /*]]>*/</style>-->



การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย James Robertson -

For my part, what I saw on Moodle.org was slow, but seemed accounted for by large number of users.  But when I upgraded my own standalone site to 1.5 and went to modify a 26-topic course, then I could plainly see a difference.  I expect a lot of people similarly didn't realize it was a bug until they upgraded their own sites.

Jim Robertson.

การประเมินโดยเฉลี่ย: -
In reply to Darren Smith

Re: Why is Internet Explorer so slow with v1.5?

โดย James Robertson -

Hi, my-oh-my what a change! Has this quick fix been put in CVS, or do I need to edit the file myself?

Hmm.. just looked at the file -- the closest I see is this line:

<style type="text/css">/*<![CDATA[*/ body{behavior:url(<?php echo $CFG->wwwroot ?>/lib/csshover.htc);} /*]]>*/</style>

Is that what I remove? Or did I get the wrong file?

Thanks,

Jim Robertson.

การประเมินโดยเฉลี่ย: -
In reply to Ger Tielemans

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -
Unfortunately this quick fix kills the javascript that displays the quiz timer sad

But none the less it works.. for the interim.
การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
What?  Are you sure?  This line was only added recently, so deleting it should have no effect on the quiz...
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Neaves -

Sorry changing pc's fixed the problem, dunno why. I jumped the gun without doing what I normally do and that is walk over and use another pc to verify a problem!

The fix works and 14 messages already received from students asking me to thank the person who figured it out !! big grin They also think the message system is amazing too .

การประเมินโดยเฉลี่ย: -
In reply to Chris Neaves

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Patch -

Worked for me... after I took out the line my site was 90% faster and my quiz timer worked just fine. We were almost ready to throw the computers out the window until I found this thread.

Thanx a lot for the tip guys smile

Chris

การประเมินโดยเฉลี่ย: -
In reply to Chris Patch

Re: Why is Internet Explorer so slow with v1.5?

โดย reg phenna -

Which one worked for you Chris?

Mine is very slow at the moment!

Thanks

การประเมินโดยเฉลี่ย: -
In reply to reg phenna

Re: Why is Internet Explorer so slow with v1.5?

โดย Chris Patch -

I took out the line:

<style type="text/css">/*<![CDATA[*/ body{behavior:url(<?php echo $CFG->wwwroot ?>/lib/csshover.htc);} /*]]>*/</style>

in lib/javascript.php as mentioned in an above post. It made an amazing difference to the overall site performance.

การประเมินโดยเฉลี่ย: -