Skip to content
  • Robert Lyon's avatar
    Bug 1467368: Allowing the main menu structure to be cached · ec41d0e0
    Robert Lyon authored and Aaron Wells's avatar Aaron Wells committed
    
    
    This will allow the rendering of the main nav to use less resources.
    
    The cached menus are saved for each institution into the
    institution_config table for these types of menus:
    
    adminnav     - site administration navigation
    instadminnav - institution admin navigation
    staffnav     - site staff admin navigation
    inststaffnav - institution staff admin navigation
    standardnav  - navigation seen in normal section of site
    
    To clear cache menus call clear_menu_cache($institution)
    
    Change-Id: I3b58090830b6d28f10f24e23abeef775c6863aa5
    Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
    ec41d0e0