cache the main navigation menu
Bug #1467368 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned |
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_
We should also clear the menu cache when plugins are installed / removed / hidden / shown
Changed in mahara: | |
milestone: | 15.10.0 → 16.04.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/4887