Hi Jako,
Here is the information.
I setup a site copy on a different server.
Whilst it is noticeably slow (its on the same shared server and I have loaded all the site files), the 1.0.14 site copy seems to load a lot quicker than the 1.0.14 actual site. In the actual site the page just times out or eventually loads if lucky - I can't provide actual 1.0.14 times on that site because its too slow and is interrupting their business so I had to revert it back to 1.0.12 which loads fine.
The home page settings are: Rich text, Tracking, Searchable, Cacheable, Empty cache
All pages of the site are slow, not just the home page. I am just using this page as the example.
1.0.12 home page of the site (I had to revert the upgrade back to 1.0.12):
0.4987 s - Query Time - Shows how long MODx took talking to the database
67 - Query Count -Shows how many database queries MODx made
0.6591 s - Parse Time - Shows how long MODx took to parse the page
1.1578 s - Total Time - Shows the total time taken to parse/ render the page
database - Source - Shows the source of page, whether is database or cache
wayfinder enabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
5.2706 s - Query Time - Shows how long MODx took talking to the database
67 - Query Count -Shows how many database queries MODx made
17.4226 s - Parse Time - Shows how long MODx took to parse the page
22.6931 s - Total Time - Shows the total time taken to parse/ render the page
database - Source - Shows the source of page, whether is database or cache
wayfinder disabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
0.4010 s - Query Time - Shows how long MODx took talking to the database
62 - Query Count -Shows how many database queries MODx made
0.4930 s - Parse Time - Shows how long MODx took to parse the page
0.8940 s - Total Time - Shows the total time taken to parse/ render the page
database - Source - Shows the source of page, whether is database or cache
It seems way quicker with wayfinder disabled.
Nothing complex is happening with Wayfinder, and speed is fine in 1.0.12. These are the Wayfinder calls on the page...
Main menu:
this is a drop down menu - level 1 is top level, second level is the drop down
this retrieves 55 docs (10 top level, 45 second level)
<div id="nav">
[[Wayfinder? &startId=`0` &level=`2` &firstClass=`first` &textOfLinks=`menutitle` &titleOfLinks=`pagetitle` &outerTpl=`main-menu-wrapper` &rowTpl=`main-menu-row` &innerRowTpl=`main-menu-row-inner` &excludeDocs=`1,4,5,7,8,6,157,169,1246,1247`]]
</div>
main-menu-wrapper
<ul>
[+wf.wrapper+]
</ul>
main-menu-row
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]"[+wf.attributes+]><span>[+wf.linktext+]</span></a>[+wf.wrapper+]</li>
main-menu-row-inner
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]"[+wf.attributes+]>[+wf.linktext+]</a></li>
Fat footer used which contains 5 single level wayfinder menus:
#1 [[Wayfinder? &startId=`1213` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &excludeDocs=`1245`]]
this retrieves 6 docs (1 start level, 5 second level)
#2[[Wayfinder? &startId=`17` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex`]]
this retrieves 9 docs (1 start level, 8 second level)
#3 [[Wayfinder? &startId=`14` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &excludeDocs=`157`]]
this retrieves 5 docs (1 start level, 4 second level)
#4 [[Wayfinder? &startId=`93` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex`]]
this retrieves 7 docs (1 start level, 6 second level)
#5 [[Wayfinder? &startId=`0` &level=`2` &ignoreHidden=`true` &outerTpl=`footer-menu-wrapper` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &includeDocs=`1,4,1246,1247`]]
this retrieves 4 docs
footer-menu-starter
<h2><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></h2>
[+wf.wrapper+]
footer-menu-wrapper2
<ul>
[+wf.wrapper+]
</ul>
footer-menu-wrapper
[+wf.wrapper+]
footer-menu-row
<li><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></li>
On the actual site (1.0.12), the database size is 8.73MB and the siteCache.idx.php is 515.8KB
On the test site (1.0.14), the database size is 8.73MB and the siteCache.idx.php size is 511.9kb
Any ideas?
Thanks in advance.
If you want access to the test site Jako, please advise and I will pm you the details.
[ed. note: nickf08 last edited this post 9 years, 10 months ago.]