Issue Bug Closed

#87729MenuProcessor can't cache

Christian Toffolo 02/18/19, 09:00 updated 11/24/22, 19:18

Description

It’s impossible to cache menu generated using MenuProcessor.

MenuProcessor Configuration contains invalid Arguments: cache.

Processing HMENU is an intensive process especially with expAll=1.
Using MenuProcessor actually means that the menu is processed at each page call (if the page is not yet cached)

Also, since actually MenuProcessor hard-code ACT and CUR, it could be useful to implement a feature that automatically caches the menu without ACT and CUR and then it overrides the cached menu, setting ACT and CUR over the cached menu.
See: https://gist.github.com/julrich/d91c1ac1968418e6ae8290f2a2e90afb

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.