- Issue created by @berdir
- Status changed to Needs review
4 months ago 9:27am 26 July 2024 - 🇨🇭Switzerland berdir Switzerland
This seems quite beneficial in early testing on our project.
I have some more ideas on improvements, including caching the generator output when it's enabled for multiple menus*.
We'll test and monitor this on production, but more testing is welcome too, the impact of this should be better the deeper your path hierarchy is, for example with multiple hierarchical categories that have articles below.
* This should be avoided whenever possible to limit the overhead of this, typically only some sort of main menu needs to support trail by path, while many other menus (e.g. footer and header menus) only need none or even no active trail, which can greatly improve performance.