Make the menu data cachable

This patch improves performance for high volume websites by loading the menu data to the cache if it is enabled.