I have a navigation bar user control that is very expensive to create
from the database. This toolbar will only change when the user
navigates to a different section (there are three in total). What I
would like to do is cache the toolbar while the user is in a current
section, and only load it again when they change sections. Or , if I
could somehow cache all three on the initial page load and then
programatically load the desired one from the cache that would also
work. Any suggestions?
Also, the way the application is setup - the current section is not
stored in the querystring, rather the navigation controls discover the
section recursively from their parent pages.
Thanks