(menuCode, locale, contextSets). This avoids repeated database hits and N+1 queries when the same menu is rendered multiple times per request or across requests.
Options
Time-to-live in seconds for each cached menu tree. The minimum value is
60. Lower values are rejected by the configuration validator.PSR-6 cache pool service name. Set to
null or an empty string to disable the tree cache entirely.config/packages/nowo_dashboard_menu.yaml
Disabling the cache
Setpool to null or an empty string to disable caching. Every request will then query the database directly.
config/packages/nowo_dashboard_menu.yaml
What is cached
The cache stores the raw menu and its items indexed by the tuple(menuCode, locale, contextSets). Each unique combination is a separate cache entry with its own TTL.
config/packages/nowo_dashboard_menu.yaml
config/packages/cache.yaml