I have created dynamic menu on the basis of user's permissions and module assigned, which has loop and if - else statements. This menu creation is in Header.ascx which is included in all the pages.
So menu creation logic executes on every page load. I want to avoid this execution on every page.
Any good suggestions to improve my implementation.
Note: menu is user specific.