We have a fairly large menu based on rich:dropDownMenu. Based on the user's roles we render a menu option or not in a dropdown menu. The menu currently exists in our template so it regenerated with each request. Over time, the menu has become large and it takes both time on the server to compute which menu options to render and on the client to actually render the menu.
What I would like to do is render the menu once for the user's session and not for each request. If the user's role(s) change the user is required to logout/login so I would be ok.
I've played around with putting the menu in a frame, but I can't seem to get it to render the dropdown menu over the frame below it.