Using cache to minimize the number of calls in a productive environment

For example, in the navigation bar I check for permissions of all links, if the user doesn't have permission to access a resource/access, then it's better not to show its link. But, the more links I have in the navigation bar, the more calls I'll perform to the MongoDB, so let's use cache here.