There are 3 comments.
 
 
Numbered Content Application / cid:jira-generated-image-avatar-c4358917-5d58-44c3-8067-8de879700e54 NCAPP-86 Open

Installing the Figure numbering extension slows down all page rendering a lot

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-6f518190-ce6b-4e61-a129-4e92d21fd6bb Vincent Massol on 26/Jul/24 13:50
 

The problem seems to be that the NumberedFigures page contains 4 xobjects and 2 of them are UIXs and one is putting a <link rel='stylesheet' type='text/css' href=... entry in the HTML which means that the NumberedFigures page gets call at each page rendering and thus the scripts execute at each page rendering. Commenting these 2 UIX out makes it fast again.

I think the solution is to split the page into 2 pages. I'll test this.

 
cid:jira-generated-image-avatar-6f518190-ce6b-4e61-a129-4e92d21fd6bb Vincent Massol on 26/Jul/24 13:50
 
The problem seems to be that the NumberedFigures page contains 4 xobjects and 2 of them are UIXs and one is putting a {{<link rel='stylesheet' type='text/css' href=...}} entry in the HTML which means that the NumberedFigures page gets call at each page rendering and thus the scripts execute at each page rendering. Commenting these 2 UIX out makes it fast again.

I think the solution is to split the page into 2 pages. I'll test this.


!Screenshot 2024-07-26 at 13.44.46.png|thumbnail!
 
cid:jira-generated-image-avatar-6f518190-ce6b-4e61-a129-4e92d21fd6bb Vincent Massol on 26/Jul/24 13:56
 

Actually the issue seems more that the stylesheet isn't cached (commenting out the 2 velocity scripts just removed the loading of the stylesheet...)