我使用Typo3实现的网页前端渲染速度非常慢。我安装了探查器并修复了数据库的一个问题。但我的下一个问题是前端页面的渲染时间非常慢。
在使用分析器分析页面渲染过程后,我找到了这个条目,它占用了页面渲染的最多时间。
HEMNU 17098175
我在HMENU中找不到任何不正常的部分,有人有同样的问题吗?
这是我的HEMNU
lib.mainNavi = HMENU
lib.mainNavi {
special = directory
special.value = {$const.navigation.main.entryId}
1 = TMENU
1 {
wrap = <ul class="nav navbar-nav">|</ul>
expAll = 1
entryLevel = 0
NO = 1
NO {
wrapItemAndSub = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
}
CUR = 1
CUR {
wrapItemAndSub = <li class="first current">|</li>|*|<li class="current">|</li>|*|<li class="last current">|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="first active">|</li>|*|<li class="current">|</li>|*|<li class="last current">|</li>
}
IFSUB {
wrapItemAndSub = <li class="first dropdown">|</li>|*|<li class="dropdown">|</li>|*|<li class="last dropdown">|</li>
}
}
2 = TMENU
2 {
wrap = <ul class="oa-dropdown-menu">|</ul>
expAll = 1
NO = 1
NO {
wrapItemAndSub = <li class="li-level2">|</li>
ATagParams = class="level-2"
}
CUR < .NO
}
3 = TMENU
3 {
wrap = <ul class="oa-dropdown-menu-3">|</ul>
NO = 1
NO {
wrapItemAndSub = <li class="li-level3">|</li>
ATagParams = class="level-3"
}
CUR < .NO
}
}
lib.submenu = HMENU
lib.submenu {
special = directory
1 = TMENU
1 {
wrap = <ul class="mobileSecondLevel">|</ul>
expAll = 1
entryLevel = 1
NO = 1
NO {
wrapItemAndSub = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
}
CUR = 1
CUR {
wrapItemAndSub = <li class="first current">|</li>|*|<li class="current">|</li>|*|<li class="last current">|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="first active">|</li>|*|<li class="actve">|</li>|*|<li class="last active">|</li>
}
}
2 = TMENU
2 {
wrap = <ul class="mobileThirdLevel">|</ul>
entryLevel = 2
NO = 1
NO {
wrapItemAndSub = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
}
CUR = 1
CUR {
wrapItemAndSub = <li class="first current">|</li>|*|<li class="current">|</li>|*|<li class="last current">|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="first active">|</li>|*|<li class="actve">|</li>|*|<li class="last active">|</li>
}
}
}