• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4826: Long topics with many attachments takes forever to render in IE

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor 4.2.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The horrorble 30+ seconds to render bug is back.

I have a topic which is very long 91 kbytes as file and has 26 attachments, many of them TWikiDrawings

In IE it takes 30 seconds to view it. It loads fast - then IE freezes without showing top bar or left bar - and finally the page is shown.

If I remove the attachments the page loads fast.

If I remove all the text but leave the attachments it also loads fast.

If I remove half the text it loads in 15 seconds.

I cannot attach the topic as it is a Motorola doc. I will have to produce a blabla doc with similar properties.

Until then this is a placeholder topic.

-- TWiki:Main/KennethLavrsen - 14 Oct 2007

I can see the same effect on a long topic with attachments.

-- TWiki:Main.ArthurClemens - 15 Oct 2007

I have created a topic that shows the problem. Took many hours to figure out what causes it.

My observations are.

  • The topic has to be faily large. Small topics does not have a delay you can feel.
  • The topic must have ONE attachment which is not hidden. The display of the attachment table is surely part of the problem.
  • The topic must have a number of tables
  • Skin must be pattern. The classic skin does not have the problem
  • If I remove the TWisty from attachtables.pattern.tmpl the problem goes away

So the problem is the TWisty for the attachments. It seems IE needs to think forever to figure out the layout of the tables when the last table has a twisty. We had this also in 4.1.X and decided to remove the attachment twisty for this reason. It seems the problem has not been resolved. If it cannot be resolved that twisty is about to get kicked again because the delay it causes is unacceptable. For a large topic it is up to a minute. For medium size it is maybe 10-15 seconds. We cannot live with that.

-- TWiki:Main.KennethLavrsen - 15 Oct 2007

I have seen the same behavior without any tables (except for the attachment table).

-- TWiki:Main.ArthurClemens - 15 Oct 2007

I have done a speed update. I have noticed a big difference on my test page. Please test it out.

-- TWiki:Main.ArthurClemens - 17 Oct 2007

Yes. Works perfectly. Confirmed both on test topic and the original topic I saw the problem on.

-- TWiki:Main.KennethLavrsen - 18 Oct 2007

I sometime get this error in Firefox:

Error: uncaught exception: [Exception... "Could not convert JavaScript argument"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: http://develop.twiki.org/~twiki4/pub/TWiki/BehaviourContrib/behaviour.compressed.js :: <TOP_LEVEL> :: line 1"  data: no]

When I remove the last lines of the script it runs fine.

-- TWiki:Main.ArthurClemens - 19 Oct 2007

Changed to closed

remember that

  • Closed means fixed and not to be put in 4.2.0 release notes
  • Waiting For Release means fixed and to be put in 4.2.0 release notes.

The principle is that all enhancements and bugs that users could actually experience in 4.1.2 go in the release note.

The bugs we introduced and fixed during the development of 4.2.0 go straight to closed.

Eventually when 4.2.0 gets released all the Waiting For Released go to Closed.

Maybe after 4.2.0 is released we make a field called "Add to Release Note" to make the purpose more clear.


Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

Summary Long topics with many attachments takes forever to render in IE
ReportedBy TWiki:Main.KennethLavrsen
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins TWikirev:15318 TWikirev:15319 TWikirev:15350 TWikirev:15351
TargetRelease minor
ReleasedIn 4.2.0
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt LongTopic.txt r1 manage 136.8 K 2007-10-15 - 22:35 KennethLavrsen Topic that causes looong delay in IE.
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2008-08-10 - GilmarSantosJr
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback