- Issue created by @Berdir
- Status changed to Needs review
about 1 month 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.