There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-887ec676-44ad-46f8-9b28-83a6ec887d9a XWIKI-22540 Open

Slow loading time when changing the icons theme to Silk in the Icon picker

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-13757f4a-37a8-42d5-9744-21b53693b927 Michael Hamann on 30/Jun/25 11:15
 

As part of XWIKI-11112 I did a bit of profiling on this. The very slow first response seems to be because of very slow environment resource loads. XCOMMONS-3258 improves this for subsequent loads. With the current version of caching I plan to introduce for XWIKI-11112, this is down to around 400-450ms for cached responses on my laptop. For the initial request, I'm still at 12 seconds - and caching won't help here, as, as mentioned, we already have effective caching for this.

There is a question to me, though: From what I understand, we get those slow (then cached) environment resource loads because we check if there are icon files in any JAR that is part of the WAR. However, we don't have any icons in there. Maybe we could optimize this by simply not checking there for icons?

Also, a more general question, is it really expected/useful that we show 1105 icons here instead of the 140 hard-coded icons we had before?