When caching level is set to 2 or higher SMF stores the list of menu buttons in the cache using a statement like
cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], ...
Simple Portal modifies the cache key to
cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'] . '-' . empty($context['disable_sp']), ...
Is anyone aware of any other mods modifying this cache key? Portal mods are probably the prime candidates.
Yes, I'm aware that this board isn't supposed to be about mods, but I can't really post this in all 2346 topics in the Modifications and Packages board.
SP is the only one to my knowledge. I still have no idea what the heck we're caching the menu anyway.
It's a known problem that the menubutton hook don't work correct if cache level 2 activatet. That I have postet years ago ...
You did indeed. I still have no idea why it should be cached.