We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22098
    • 218 Posts
    Hello,

    we’re working on optimising our MODx sites. Some pages where we use wayfinder 2 times to build a main navigation and a subnavigation area, and that cannot be cached, show us that Wayfinder creates about 121 queries to build these to menus. I would think that Wayfinder would need only 1 query to simply load all the content records from the DB and then parse the resultset using PHP? This large number of queries gives a huge load on our mySQL db with large traffic sites.

    Olaf
      • 22303 MODX Staff
      • 10,725 Posts
      My first question is why can’t these Wayfinder calls be cached?

      Next, are you using TV’s with Wayfinder?

      Finally, could you not accomplish your menu using an optimized menu snippet that did not have all the bells and whistles of Wayfinder?