← Back to team overview

mahara-contributors team mailing list archive

[Bug 1467368] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/4887

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1467368

Title:
  cache the main navigation menu

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Part of rendering the main navigation is it checks all the plugins to
  see if they want to add to the menu.

  This is not an ideal way of doing it. We should cache the main menu's
  $menu array in the database after first render and just use that.

  We should also have a clear_menu_cache($institution = null) function
  so that when the site or and institution updates it's config the
  related cached menus are cleared and able to generate again.

  We should also clear the menu cache when plugins are installed /
  removed / hidden / shown

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1467368/+subscriptions


References