[MGNLETK-72] Admincentral website trees take a long time to open. Created: 01/Mar/12  Updated: 11/Apr/12  Resolved: 11/Apr/12

Status: Closed
Project: Extended Templating Kit (closed)
Component/s: multisite
Affects Version/s: 1.4.4
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Rico Jansen Assignee: Ondrej Chytil
Resolution: Obsolete Votes: 0
Labels: etk, sitemanager, vpro
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-3915 URI Permission assignment does not re... Closed
caused by MGNLETK-62 multisite detection: implement a rule... Closed
duplicate
is duplicated by MGNLETK-73 Implement caching for site resolving Closed
relation
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

After upgrading to ETK 1.4.4 from 1.4.2 we are getting complaints that the website tree takes a long time to open.
We have spend time finding out why, after looking with a profiler it seems the code spends a lot of time in the
ETKSiteManager's findBestMatchingSites method. We do have a lot of site definitions (40+) and it looks like the code
loops over them quite a lot. Interestingly the JCR tree in the Tools section doesn't suffer from this problem.
Also directly calling pages in a site (on author) does not cause significant slowdown, probably because
the code matches early.



 Comments   
Comment by Ondrej Chytil [ 11/Apr/12 ]

Solved by MGNLETK-73.

Generated at Mon Feb 12 01:48:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.