Caching of navigation menu.