#57953Rendering time of HMENU is really bad, maybe bug?
Description
We use the following menu on every page.
Because of expAll = 1 on the first two levels, the menu is by far the slowest element on the pages. This Bug has been adressed in Ticket (http://forge.typo3.org/issues/23486) so far, but was closed due to missing feedback.
Also I am unsure whether this is actually the problem, but in combination with two other menus on the page it is responsible for 90% of the processing time.
60 = HMENU
60 {
entryLevel = 1
1 = TMENU
1 {
expAll = 1
NO.allWrap = <li>|</li>
NO.ATagTitle.field = abstract // description // title
ACT = 1
ACT.wrapItemAndSub = <li class="active">|</li>
ACT.ATagTitle.field = abstract // description // title
IFSUB = 1
IFSUB.ATagTitle.field = abstract // description // title
IFSUB.stdWrap.wrap = | <span class="text-muted">/ ...</span>
IFSUB.stdWrap2.wrap = |<ul class="nav collapse">
IFSUB.wrapItemAndSub (
<li class="sub">
<a href="#" title="Untermenü aufklappen" class="sidebar-dropdown-btn"
data-toggle="collapse" data-parent="#sidebar .panel-body.nav">
<span class="caret"></span>
</a>
|</ul>
</li>
)
ACTIFSUB < .IFSUB
ACTIFSUB.stdWrap2.wrap = |<ul class="nav collapse in">
ACTIFSUB.wrapItemAndSub (
<li class="active sub">
<a href="#" title="Untermenü aufklappen" class="sidebar-dropdown-btn"
data-toggle="collapse" data-parent="#sidebar .panel-body.nav">
<span class="caret"></span>
</a>
|</ul>
</li>
)
CURIFSUB < .ACTIFSUB
wrap = <ul id="sidebar-menu" class="panel-body nav">|</ul>
}
2 < .1
2.wrap >
3 = TMENU
3 {
NO.allWrap = <li>|</li>
NO.ATagTitle.field = abstract // description // title
ACT = 1
ACT.wrapItemAndSub = <li class="active">|</li>
ACT.ATagTitle.field = abstract // description // title
ACTIFSUB < .ACT
CURIFSUB < .ACT
}
wrap = <div id="sidebar-menu" class="panel-collapse collapse in">|</div>
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 6
- Bug #23486nested menu generates huge number of mysql queries
- Bug #63550Menu configuration caching disabled by ineffective type checks
- Bug #87729MenuProcessor can't cache
- Bug #91208Performance issue in PageRepository for Mega Menus
- Epic #93547Collection of problems with large sites
- Bug #98964Menu object caching creates too many records resulting in huge cache_hash table